35 Commits

Author SHA1 Message Date
yanyiwu
fae951a95d 统一私有函数的命名风格 2015-08-28 11:17:38 +08:00
yanyiwu
41e4300c9a LevelSegment 2015-08-11 00:53:06 +08:00
yanyiwu
efd029c20b namespace husky; namespace limonp; 2015-08-08 12:30:14 +08:00
yanyiwu
8a3ced2b27 去掉一些没必要的返回值判断,精简代码 2015-07-24 14:39:03 +08:00
yanyiwu
4d86abb001 新增findByLimit函数 2015-07-23 21:10:56 +08:00
yanyiwu
78e41e5fd0 规范Unicode的相关命名,使用Rune代表一个中文字符 2015-07-21 14:54:50 +08:00
yanyiwu
0e16e000ea 解决一些历史遗留问题 2015-07-21 14:32:05 +08:00
yanyiwu
620d276887 底层常用结构修整 2015-07-21 12:11:43 +08:00
yanyiwu
c5f7d4d670 重构trie前先ci一下 2015-06-26 14:29:44 +08:00
yanyiwu
1d27559209 refactor DictTrie, and expose function: insertUserWord 2015-06-26 11:49:35 +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
e9cbec02c2 增加两条词性标注的规则,针对连续英文和数字。 2014-11-29 12:45:11 +08:00
wyy
7868f7cdff 去除一些 template 代码 2014-11-13 01:16:38 +08:00
wyy
3ced451212 use automation 2014-11-12 18:55:17 +08:00
wyy
b9736ee132 update trie and dag , make cut faster . see details in changelog.md 2014-11-05 15:31:09 +08:00
wyy
ef5766904a 修改自定义词性的格式为: word tag 2014-09-28 13:43:30 +08:00
wyy
6a8ebae344 支持自定义词性 2014-09-28 13:22:37 +08:00
wyy
9571a4d0d5 remove InitOnOff to make code lighter 2014-08-12 00:34:37 +08:00
wyy
76dd93051e add localvector 2014-06-05 00:48:49 +08:00
wyy
fb608627c9 update limonp 2014-05-26 17:15:52 +08:00
wyy
5b654f66db make single one chinese word in userdict will not be ignored in mixsegment.hpp 2014-05-17 16:22:54 +08:00
wyy
3e0aaf73a5 adding user dict interface and test ok 2014-04-25 19:30:26 +08:00
wyy
2937985243 adding user dict interface 2014-04-25 18:47:22 +08:00
wyy
dc96bb3795 add userdict loader 2014-04-25 17:29:42 +08:00
wyy
bb6c3f9e78 add shrink for vector in DictTrie.hpp 2014-04-11 15:25:03 +08:00
wyy
cae1503725 split Trie.hpp into (Trie.hpp & DictTrie.hpp) test ok 2014-04-11 12:08:46 +08:00
wyy
24120c92b1 compile ok 2014-04-10 09:16:35 -07:00
wyy
776191b375 ci 2014-04-10 22:32:39 +08:00
wyy
abd23a4d79 rename Trie -> DictTrie 2014-04-10 21:07:11 +08:00
wyy
f70b654b66 split Trie.hpp into (Trie.hpp & DictTrie.hpp) 2014-04-10 21:05:01 +08:00