Skip to content

Introduction to Natural Language Processing using NLTK in Python

Notifications You must be signed in to change notification settings

pirmoradian/Intro2NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Intro2NLP

An introductory tutorial on how to do Natural Language Processing using NLTK (Natural Language Toolkit) in Python.

intro2NLP.ipynb: a Jupyter notebook which shows how to access, clean, and analyze a corpus using the nltk library.

After accessing Jane Austen's Sense and Sensibility on the nltk.corpus package, I preprocess the text by e.g. removing stopwords and punctuations, then plot the distribution of word frequency and apply sentiment analysis using the textblob library. To show how to do sentiment analysis using a classifier, I train a Naive Bayes classifier on the movie_review dataset available on nltk.corpus.

About

Introduction to Natural Language Processing using NLTK in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published