Getting Started with fastText : Learn NLP
This article is for those who are getting started with fastText. fastText is a text representation and classification library from Facebook Research developed by FAIR lab. Classification of text documents is an important natural language processing (NLP) task. It is originally written in C++ but can be accessed using Python interface. It is massively fast. See references for two defining papers. In this article we’ll discuss Python installation of fastText. pip and cython are pre-requisites, install them if not already installed:
Installing pipsudo apt-get install pip
Installing Cythonpip install cython
Finally install fastText which may also download other missing packages like numpy for us.
Installing fastTextpip install fasttext
And we are done! See next post Text Classification With Python Using fastText. References:
Getting Started with fastText : Learn NLP