LoginSignup
11

More than 5 years have passed since last update.

pip で cabocha-python をいれる

Last updated at Posted at 2019-03-03

以前のWindows で pip で mecab-python をいれる記事でWindowsでNLPやる人の需要が少しあるのがわかったので、今回はcabocha-pythonをPyPIに登録しました

pip install cabocha-python

で入れられます。

ただしMeCabと違ってCaboChaをWindowsの64bit版Pythonに対応させるのは難しいので、Windowsは32bit版Pythonのみ対応しています。

あとはついでにMacやLinuxでも入れられるようにしました。これまでMacやLinuxでcabocha-pythonを入れるには下記pipコマンドで一度git cloneして入れなければいけないため時間がかかるので、上記のpip install cabocha-pythonの方がはやくインストールできます。

pip install git+https://github.com/taku910/cabocha.git#subdirectory=python

PythonでCaboChaを使いたいときはぜひお使いください。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11