29 Commits

Author SHA1 Message Date
yanyiwu
d56bf2cc68 重构:增加让各个分词类的构造函数,为后面的憋大招做准备。 2015-06-04 22:38:55 +08:00
yanyiwu
b99d0698f0 将 HMMSegment 里面关于模型文件的数据独立成 HMMModel 2015-06-04 17:52:18 +08:00
yanyiwu
c04b2dd0d4 增加更详细的错误日志,在初始化过程中合理使用LogFatal。 2015-05-07 20:03:19 +08:00
yanyiwu
2b18a582fc code style 2015-05-06 23:02:03 +08:00
yanyiwu
bb32234654 astyle --style=google --indent=spaces=2 2015-05-06 17:53:20 +08:00
yanyiwu
b70875f412 update LogFatal, print more readable error message when errors happened 2015-05-06 17:20:15 +08:00
yanyiwu
10e9b32258 little adjustment 2015-01-31 12:58:49 +08:00
yanyiwu
4e72d4a06f KeywordExtractor 支持自定义词典(可选参数)。 2015-01-24 15:34:34 +08:00
wyy
9571a4d0d5 remove InitOnOff to make code lighter 2014-08-12 00:34:37 +08:00
wyy
c46980c17c minor change 2014-05-30 00:21:11 +08:00
wyy
ae3e0a1b6a make keywordextractor faster 2014-04-20 00:20:25 +08:00
wyy
9a7ba0d685 update limonp && husky to adapter less version g++ 2014-03-27 11:44:41 +08:00
wyy
ed39e558bc adapt_to_gxx44 2014-03-18 11:51:04 -05:00
wyy
fe7e3ff807 prettify Trie.hpp ing 2014-03-16 20:20:37 +08:00
wyy
6de292a56d add stopword in KeywordExtractor 2014-03-15 23:31:59 +08:00
wyy
e3b58d6ddc use map in extract to fix a unordered bug in different environment , by the way, it improves 1/6 speed 2014-03-11 10:43:06 +08:00
wyy
485383c669 static const char * -> const char* const 2014-03-09 20:02:03 -07:00
wyy
6fcaad6514 fix bug in BLACK_LIST definition 2014-03-06 23:35:32 -08:00
wyy
eff8d45267 fix bug: cmp function pair<string, uint> -> pair<string, double> 2014-02-10 11:16:24 +08:00
wyy
31bcaeb11e fix bug: cmp function pair<string, uint> -> pair<string, double> 2014-02-10 11:08:26 +08:00
wyy
5f96dcf09a add filter singword in keywordextractor. 2014-02-07 17:51:08 +08:00
wyy
f64c11c57e add blacklist 2014-01-31 17:37:40 +08:00
wyy
41a33747f4 use InitOnOff 2014-01-30 01:06:32 +08:00
wyy
80f9d2ea4c add DEFINE MIN MACRO 2014-01-04 17:48:13 +08:00
wyy
229fcd715f add another extract function in keywordextractor.hpp and ut ok 2013-12-24 19:03:52 -08:00
wyy
62b83a36a0 using idf.utf8 in keywordExtractor 2013-12-24 06:55:27 -08:00
wyy
0db2dfa6b8 finished KeywordExtractor and its ut 2013-12-24 01:22:02 -08:00
wyy
3eb0470c2f update husky and limonp 2013-12-23 23:58:54 -08:00
wyy
24a15cd128 rename and finishing KeywordExtractor.hpp 2013-12-23 19:22:59 -08:00