kevincobain2000 / jProcessing

Japanese Natural Langauge Processing Libraries
http://readthedocs.org/docs/jprocessing/en/latest/
BSD 2-Clause "Simplified" License
148 stars 30 forks source link

Dealing with some issues and found a broken link #6

Open MXS2514 opened 8 years ago

MXS2514 commented 8 years ago

1.2.2 Cabocha jCabocha.py

Run Cabocha with original EUCJP or IS0-8859-1 configured encoding, with utf8 python

If cobocha is configured as utf8 then see this http://nltk.googlecode.com/svn/trunk/doc/book-jp/ch12.html#cabocha

I'm using Win7、python2.7, 32bits. In fact, I want to convert some Japanese strings to romaji(for legacy purpose). I've installed the newest Mecab(choose EUC-JP when install), CaboCha(choose utf-8 when install←it only have shift-jis and utf-8 to choose) and then, of course they are not match the code and cannot work(because your tools need to use "euc_jp").So the link above seem to solve the issue but dead.

Further more, from the config shortcut file of Cabocha, I replace the UTF-8 with EUC-JS and run, it seems recompile successfully. Then I try to run your examples, it does have something works (called external Cabocha.exe without error) but nothing output, only a: [ ]