fastText
FastText is an open-source library for efficient learning of word representations and text classifiers. Developed by Facebook AI Research (FAIR), it extends the word2vec approach by incorporating subword information through character n-grams, enabling the model to generate meaningful vectors for rare and unseen words and to better represent morphologically rich languages.
In unsupervised mode, FastText trains CBOW or skip-gram models using subword information. Each word’s vector is
In supervised mode, FastText provides a text classifier that learns a linear model over a bag-of-words representation
The library is implemented in C++ with bindings for Python, and includes a command-line interface for training,