The official GitHub repository is below. See the README for detailed installation instructions. fastText : https://github.com/facebookresearch/fastText
The environment I tried this time is as follows.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
Prepare python, numpy, and scipy in advance. Anaconda is convenient.
$ wget https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh
You need c ++ to make fastText. If not, install it with the following command.
$ sudo apt-get install build-essential
Download and install from GitHub.
$ git clone https://github.com/facebookresearch/fastText.git
$ cd fastText
$ make
Download the Japanese trained model distributed in the repository.
$ wget https://s3-us-west-1.amazonaws.com/fasttext-vectors/wiki.ja.zip .
While editing
Recommended Posts