IF YOU ARE INTERESTED IN A MORE RECENT PROJECT ON USING FASTTEXT VECTORS IN RASA, TRY THE FOLLOWING CODE https://github.com/RasaHQ/rasa-custom-fasttext
Credits to: https://github.com/koaning
THIS CODE BASE IS NOT MAINTAINED FOR OVER 3 YEARS. Life goes on!!
Tbe requirements are really simple.
You should have docker
In order to build with fastText, first download the FastText vector you need in the langauge from here
Save the downloaded vector file in vector folder.
Build the docker file as
docker build -t spacy-fasttext .
Once the image is built, run the following command to build the first model Go to terminal and reach the present directory first.
docker run -v $PWD:/app spacy-fasttext python load_fastText.py
This will build the model in the model folder
docker run -v $PWD:/app spacy-fasttext python -m spacy package model model_package
docker run -it -v $PWWD::/app spacy-fasttext bash
cd model_package/nl_model-0.0.0
python setup.py sdist
This will then export a packaged model in .tar.gz, when then you can load for your NLP purposes.