35 Commits

Author SHA1 Message Date
yanyiwu
c3fd357a6d [QuerySegment] add SetMaxWordLen,GetMaxWordLen, and filter the english sentence in secondary Cut 2015-10-29 14:23:01 +08:00
yanyiwu
83cc67cb15 [code style] uppercase function name 2015-10-29 12:39:10 +08:00
yanyiwu
f17c2d10e2 [code style] uppercase function name 2015-10-29 12:30:47 +08:00
yanyiwu
ecacf118e6 [code style] lower case namespace 2015-10-08 21:13:11 +08:00
yanyiwu
f98e94869c add optional argument: hmm 2015-09-13 17:28:49 +08:00
yanyiwu
14974d51b4 abondom ISegment 2015-09-13 17:02:04 +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
0f79fa6c24 统一在SegmentBase搞定所有Unicode和string的转码事情 2015-07-24 13:42:24 +08:00
yanyiwu
620d276887 底层常用结构修整 2015-07-21 12:11:43 +08:00
yanyiwu
a3d9b40c2a 修改QuerySegment的构造函数参数顺序 2015-06-05 16:23:51 +08:00
yanyiwu
45588b75cc 增加 Application 这个类,整合了所有CppJieba的功能进去,以后用户只需要使用这个类即可。 2015-06-05 16:00:32 +08:00
yanyiwu
d56bf2cc68 重构:增加让各个分词类的构造函数,为后面的憋大招做准备。 2015-06-04 22:38:55 +08:00
yanyiwu
b99d0698f0 将 HMMSegment 里面关于模型文件的数据独立成 HMMModel 2015-06-04 17:52:18 +08:00
yanyiwu
9218ccb9c9 set default argument in QuerySegment: size_t maxWordLen = 4 2015-06-04 14:37:09 +08:00
yanyiwu
aed1c8f4a6 删除一些无必要的错误检查 2015-05-21 16:04:41 +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
10e9b32258 little adjustment 2015-01-31 12:58:49 +08:00
yanyiwu
269bc0fd0d make QuerySegment support user.dict.utf8 2015-01-23 01:10:12 +08:00
wyy
9571a4d0d5 remove InitOnOff to make code lighter 2014-08-12 00:34:37 +08:00
wyy
5bfd3d0c49 update fullsegment for reducing memory cost 2014-08-11 23:34:29 +08:00
wyy
c46980c17c minor change 2014-05-30 00:21:11 +08:00
wyy
fb608627c9 update limonp 2014-05-26 17:15:52 +08:00
wyy
abd23a4d79 rename Trie -> DictTrie 2014-04-10 21:07:11 +08:00
wyy
ddaa5589f1 rm TrieManager.hpp 2014-03-15 22:02:48 +08:00
aholic
d9880feb03 someone forget to assign value for maxWordLen in QuerySegment 2013-12-17 02:30:27 +08:00
aholic
496e593d53 fux bug in QuerySegment | changes cause by init() 2013-12-17 01:27:53 +08:00
wyy
fa75f0f319 modify construction and init for segments 2013-12-21 09:37:12 -08:00
aholic
7add684a8a change algorithm for QuerySegment(now is mix+full) | use TrieManager to get a trie for all Segment 2013-12-16 14:18:44 +08:00
aholic
599c130bd9 make MixSegment looks better 2013-11-28 10:49:40 +08:00
aholic
12328a3a7e remove macro NO_CODING_LOG 2013-11-28 09:17:29 +08:00
wyy
1e29d25855 use assert for getinitflag 2013-12-11 04:52:33 -08:00
aholic
03f5144a3e add QuerySegment 2013-11-27 21:05:35 +08:00