Compare commits

...

No commits in common. "c8-stream-8.0" and "stream-mysql-8.0-rhel-8.9.0" have entirely different histories.

5 changed files with 21 additions and 2 deletions

8
.gitignore vendored
View File

@ -1 +1,7 @@
SOURCES/mecab-0.996.tar.gz
mecab-0.98.tar.gz
/mecab-0.99.tar.gz
/mecab-0.991.tar.gz
/mecab-0.993.tar.gz
/mecab-0.994.tar.gz
/mecab-0.995.tar.gz
/mecab-0.996.tar.gz

View File

@ -1 +0,0 @@
15baca0983a61c1a49cffd4a919463a0a39ef127 SOURCES/mecab-0.996.tar.gz

View File

@ -0,0 +1,13 @@
--- mecab-0.97/src/viterbi.cpp.debug 2007-11-26 02:27:12.000000000 +0900
+++ mecab-0.97/src/viterbi.cpp 2008-04-08 16:56:12.000000000 +0900
@@ -67,6 +67,10 @@
copy_sentence_ = param.get<bool>("allocate-sentence");
cost_factor_ = param.get<int>("cost-factor");
+
+ // http://lists.sourceforge.jp/mailman/archives/mecab-users/2008-April/000324.html
+ if ( cost_factor_ <= 0 ) cost_factor_ = 700;
+
CHECK_FALSE(cost_factor_ > 0) << "cost-factor is empty";
set_theta(param.get<double>("theta"));

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (mecab-0.996.tar.gz) = aca6d16f411b9ba9b6687242246aeb28ede6d6c6a9122d4a32da9d8e76e79b5f4af2c8e3b13ad9462b34e9d2994cbd9bbbedebac45609684db9b703da999577f