类 com.hankcs.hanlp.algoritm.ahocorasick.trie.Trie
的使用

使用 Trie 的软件包
com.hankcs.hanlp.algoritm.ahocorasick.trie   
com.hankcs.hanlp.dictionary.nt   
 

com.hankcs.hanlp.algoritm.ahocorasick.trieTrie 的使用
 

返回 Triecom.hankcs.hanlp.algoritm.ahocorasick.trie 中的方法
 Trie Trie.remainLongest()
          只保留最长匹配
 Trie Trie.removeOverlaps()
           
 

com.hankcs.hanlp.dictionary.ntTrie 的使用
 

声明为 Triecom.hankcs.hanlp.dictionary.nt 中的字段
static Trie OrganizationDictionary.trie
          AC算法用到的Trie树
 



Copyright © 2014–2015 码农场. All rights reserved.