GithubHelp home page GithubHelp logo

karetsu / session-8-practical-introduction-to-nlp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ai-wales/session-8-practical-introduction-to-nlp

0.0 1.0 0.0 3.78 MB

Practical workshop on NLP pipelines with a few examples.

Jupyter Notebook 99.65% Python 0.35%

session-8-practical-introduction-to-nlp's Introduction

Fuzzy Logic - Introduction-to-NLP

Practical workshop on NLP pipelines with a few examples.

Presented by David Pugh and Rob Bretton

We will introduce the concepts of NLP and show some basic Python code that can help process text ready for more advanced analysis. We will then introduce some libraries that can help with this, as well as start to model text in more advanced ways, We will use spaCy as a key library to demonstrate how to build custom processing pipelines and even throw in some topic and semantic modelling. Throughout we will hopefully see how powerful modern NLP libraries can be - but also how difficult interpreting language can be.

And all demonstrated using the psychodelic Welsh wonder lyrics of the Super Furry Animals.

At the end we will show how you can use this to build some basic but powerful language processing products.

This is a practical introduction - there will be plenty of code, tips and examples and it's designed to give you the basic knowledge, tools and direction to be able to go off and explore this subject yourself. There will be a mix of theory, concepts and code workthroughs during the session - to follow along with the code, just download this repository to your computer, open up Anaconda navigator and open Jupyter notebooks. Just open each notebook as required. The notebooks are designed so that you can work through them at your own pace in your own time when - we will be going through a lot of content during the workshop and showing lots of practical code and to get the most out of it you will want to work through much of this in your own time with your own text.

To be able to use these notebooks you will need to have installed Anaconda and got a Python data science environment set up on your laptop.

Refer to Getting Started for instructions on how to do this.

You will also need a few specific packages installed. Install these by opening Anaconda Navigator, clicking on Environments, select the environmnet you are using (e.g., root), select the arrow and 'open terminal'.

In the command prompt that opens, type the following commands to install spaCy and its English language models:

conda install -c conda-forge spacy
python -m spacy download en

See the spaCy documents.

We also use textaCy. This is installed using

conda install -c conda-forge textacy

Other useful libraries we use:

The nltk library

conda install -c anaconda nltk

WordCloud for visually viewing common words

conda install -c conda-forge wordcloud

Pob lwc and SFAok!!!

session-8-practical-introduction-to-nlp's People

Contributors

david-pugh avatar garethclews avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.