Library for fast text representation and classification.
25.93k
stars
4.72k
forks
source link
Building fasttext for python - Method ambiguous. And import fasttext.train_supervised() vs fasttext.FastText.train_supervised() #1162
Open
slovanos opened 3 years ago
Hi all! On the fasttext site: https://fasttext.cc/docs/en/supervised-tutorial.html two different sources for building the python wrapper are shown:
$ git clone https://github.com/facebookresearch/fastText.git $ cd fastText $ sudo pip install .
$ wget https://github.com/facebookresearch/fastText/archive/v0.9.2.zip $ unzip v0.9.2.zip $ pip install .
so, which one is it? and what are the differences?
Also. when importing in python: import fasttext
fasttext.train_supervised() and fasttext.FastText.train_supervised() can be used.
What are the differences there? I'd appreciate it
thank you very much.