38 Commits

Author SHA1 Message Date
wyy
b9736ee132 update trie and dag , make cut faster . see details in changelog.md 2014-11-05 15:31:09 +08:00
wyy
6a8ebae344 支持自定义词性 2014-09-28 13:22:37 +08:00
wyy
40eb40288d compatiable with -std=c++0x 2014-08-15 22:09:21 +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
8df0a1c89e fix max probability segmentor's bug : result is imcomplete while speical symbol in sentence 2014-07-08 23:38:06 -07:00
wyy
fb608627c9 update limonp 2014-05-26 17:15:52 +08:00
wyy
bc6ed2368d use vector's reserve 2014-05-24 15:37:31 +08:00
wyy
1a314d4b4c use vector's reserve 2014-05-24 13:44:55 +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
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
d61d694ac7 do some rename 2014-04-16 19:12:24 +08:00
wyy
24120c92b1 compile ok 2014-04-10 09:16:35 -07:00
wyy
abd23a4d79 rename Trie -> DictTrie 2014-04-10 21:07:11 +08:00
wyy
61f542a6b1 little modify MPSegment 2014-04-08 09:05:09 -07:00
wyy
45a7cac784 change MPSegment's cut(..., vector<TrieNodeInfo>) -> cut(..., vector<Unicode>) 2014-04-08 08:43:32 -07:00
wyy
a3e0db22e8 change trie.find args 2014-04-08 19:59:02 +08:00
wyy
f254691e53 ci MPSegment.hpp 2014-04-07 23:05:09 -07:00
wyy
fe7e3ff807 prettify Trie.hpp ing 2014-03-16 20:20:37 +08:00
wyy
ddaa5589f1 rm TrieManager.hpp 2014-03-15 22:02:48 +08:00
wyy
3eb0470c2f update husky and limonp 2013-12-23 23:58:54 -08:00
wyy
679179859e add some log debug & info 2013-12-21 21:47:01 -08:00
wyy
fa75f0f319 modify construction and init for segments 2013-12-21 09:37:12 -08:00
wyy
335a7eff47 add THMMSegment.cpp and TMPSegment.cpp for fix little error in using hmmsegment and mpsegment. 2013-12-18 22:42:46 -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
wyy
1e29d25855 use assert for getinitflag 2013-12-11 04:52:33 -08:00
wyy
acb4150e3c remove some unused code 2013-12-08 03:29:28 -08:00
wyy
313e05da1b ci for lunch 2013-12-07 20:25:28 -08:00
wyy
1169521c42 modify calcDAG to speed up 2013-12-07 08:05:05 -08:00
wyy
81c2d3caf1 modify calcDAG try to speed up 2013-12-07 07:45:06 -08:00
wyy
32bafd78f0 ci 2013-12-07 06:53:38 -08:00
wyy
b1a71f0495 add init dipose into ISegment.hpp 2013-12-05 23:38:02 -08:00
wyy
f79ce99a55 ci for dinner 2013-12-05 02:54:29 -08:00
aholic
7f57443829 gg=G for MPSegment.hpp 2013-11-27 05:08:06 +08:00
wyy
bbdd041ee5 rm globals.h 2013-11-30 13:06:50 +08:00
wyy
ccaeeb5bb0 delete structs.h 2013-11-30 12:52:17 +08:00
wyy
6484342c8f merge MPsegment.h/cpp into hpp 2013-11-30 12:26:57 +08:00