[mecab-users 149] Re: mecab 0.93

Zurück zum Archiv-Index

Satoshi Sato ssato****@nuee*****
2006年 8月 1日 (火) 21:48:29 JST


みなさん:

学習モジュールを使用している場合の、
0.91 -> 0.92/0.93 への移行についてのポイントをまとめておきます。
(対象となる方は、少数だと思いますが。)

(1) rewrite.def のフォーマットが変わった。

セクション名が間違っていると、
    dictionary_rewriter.cpp(227) [append_to != 0] no sections found
がでる。

(2) -y オプションを使っている場合。2番目のコマンド名が変更になっている
ことに注意。

旧:
$(MECABLIBEXEC)/mecab-cost-train -y -c 1.0 corpus model; \
$(MECABLIBEXEC)/mecab-tool -b -i model.txt -o model

新:
$(MECABLIBEXEC)/mecab-cost-train -y -c 1.0 corpus model; \
$(MECABLIBEXEC)/mecab-cost-train -b model.txt model

#実は、ここでもひっかかった。

ということで、MacOS 10.4 (Intel)では、学習できるようになりました。

大竹さん、ありがとうございました。

佐藤理史@名古屋大学




mecab-users メーリングリストの案内
Zurück zum Archiv-Index