Goto

Collaborating Authors

 porterstemmer


Stemming vs Lemmatization in NLP: Must-Know Differences

#artificialintelligence

This article was published as a part of the Data Science Blogathon. In the field of Natural Language Processing i.e., NLP, Lemmatization and Stemming are Text Normalization techniques. These techniques are used to prepare words, text, and documents for further processing. Languages such as English, Hindi consists of several words which are often derived from one another. Further, Inflected Language is a term used for a language that contains derived words. For instance, word "historical" is derived from the word "history" and hence is the derived word.


Intro to NLTK for NLP with Python

#artificialintelligence

First, you want to install NLTK using pip (or conda). The command for this is pretty straightforward for both Mac and Windows: pip install nltk . If this does not work, try taking a look at this page from the documentation. Note, you must have at least version -- 3.5 of Python for NLTK. To check if NLTK is installed properly, just type import nltk in your IDE. If it runs without any error, congrats!


Intro to NLTK for NLP with Python

#artificialintelligence

First, you want to install NLTK using pip (or conda). The command for this is pretty straightforward for both Mac and Windows: pip install nltkIf this does not work, try taking a look at this page from the documentation. Note, you must have at least version -- 3.5 of Python for NLTK. To check if NLTK is installed properly, just type import nltk in your IDE. If it runs without any error, congrats! But hold'up, there's still a bunch of stuff to download and install.