I'm trying to use the FastText Python API https://pypi.python.org/pypi/fasttext Although, from what I've read, this API can't load the newer .bin model files at https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md as suggested in https://github.com/salestock/fastText.py/issues/115
I've tried everything that is suggested at that issue, and furthermore https://github.com/Kyubyong/wordvectors doesn't have the .bin for English, otherwise the problem would be solved. Does anyone know of a work-around for this?
Try the following steps to solve the issue. Its worked with me for Python 3.5 while loading a language identification model.
git clone https://github.com/facebookresearch/fastText.git
cd fastText
pip install .
You can't use the package fasttext
installed by pip. You use install fastText
(capital T) from fasttext
repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With