The two Python libraries that we're going to use in this chapter are natural language toolkit (NLTK) and Gensim. We will use the first one for text preprocessing and the second one for training or machine learning models. To install them, activate your Python virtual environment:
> cd ~ > virtualenv swift-ml-book
And run pip install:
> pip install -U nltk gensim
Official sites:
- NLTK, http://www.nltk.org/
- Gensim, https://radimrehurek.com/gensim/
- TextBlob, https://textblob.readthedocs.io/en/dev/
- Stanford's CoreNLP, https://stanfordnlp.github.io/CoreNLP/
- SpaCy, https://spacy.io/