LoginSignup
4
4

More than 5 years have passed since last update.

Windows に NLTK をセットアップ

Last updated at Posted at 2014-10-30

基本的には NLTK のサイト( http://www.nltk.org/install.html )に従ってインストールしているだけだが、UnicodeDecodeError エラーが出たのでその対応方法をメモ。

1. Python のインストール

64bitバージョンは避けて、32bit をインストールする。
http://www.python.org/download/releases/3.4.1/
https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi

2. Numpy のインストール (推奨)

3. NLTK のインストール

http://pypi.python.org/pypi/nltk で良いはずだが、UnicodeDecodeError が出たので、http://www.nltk.org/nltk3-alpha/ から http://www.nltk.org/nltk3-alpha/nltk-3.0a4.win32.exe をインストールした。

参考にしたページ : http://stackoverflow.com/questions/25493720/python-nltk-unicodedecodeerror-ascii-codec-cant-decode-byte

4
4
0

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
4
4