类 com.hankcs.hanlp.collection.AhoCorasick.AhoCorasickDoubleArrayTrie
的使用

使用 AhoCorasickDoubleArrayTrie 的软件包
com.hankcs.hanlp.dictionary.nr   
com.hankcs.hanlp.dictionary.ns   
com.hankcs.hanlp.dictionary.py   
com.hankcs.hanlp.dictionary.ts   
com.hankcs.hanlp.seg.Other   
 

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

声明为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.dictionary.nr 中的字段
static AhoCorasickDoubleArrayTrie<NRPattern> PersonDictionary.trie
          AC算法用到的Trie树
 

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

声明为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.dictionary.ns 中的字段
static AhoCorasickDoubleArrayTrie<String> PlaceDictionary.trie
          AC算法用到的Trie树
 

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

参数类型为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.dictionary.py 中的方法
protected static List<Pinyin> PinyinDictionary.segLongest(char[] charArray, AhoCorasickDoubleArrayTrie<Pinyin[]> trie)
          用最长分词算法匹配拼音
protected static List<Pinyin> PinyinDictionary.segLongest(char[] charArray, AhoCorasickDoubleArrayTrie<Pinyin[]> trie, boolean remainNone)
           
 

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

声明为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.dictionary.ts 中的字段
static AhoCorasickDoubleArrayTrie<String> TraditionalChineseDictionary.trie
          繁体=简体
 

参数类型为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.dictionary.ts 中的方法
protected static String BaseChineseDictionary.segLongest(char[] charArray, AhoCorasickDoubleArrayTrie<String> trie)
           
 

com.hankcs.hanlp.seg.OtherAhoCorasickDoubleArrayTrie 的使用
 

返回 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.seg.Other 中的方法
 AhoCorasickDoubleArrayTrie<CoreDictionary.Attribute> AhoCorasickDoubleArrayTrieSegment.getTrie()
           
 

参数类型为 AhoCorasickDoubleArrayTriecom.hankcs.hanlp.seg.Other 中的方法
static
<V> LinkedList<ResultTerm<V>>
CommonAhoCorasickSegmentUtil.segment(char[] charArray, AhoCorasickDoubleArrayTrie<V> trie)
          最长分词,合并未知语素
static
<V> LinkedList<ResultTerm<V>>
CommonAhoCorasickSegmentUtil.segment(String text, AhoCorasickDoubleArrayTrie<V> trie)
          最长分词,合并未知语素
static
<V> LinkedList<ResultTerm<V>>
CommonAhoCorasickSegmentUtil.segmentReverseOrder(char[] charArray, AhoCorasickDoubleArrayTrie<V> trie)
          逆向最长分词,合并未知语素
static
<V> LinkedList<ResultTerm<V>>
CommonAhoCorasickSegmentUtil.segmentReverseOrder(String text, AhoCorasickDoubleArrayTrie<V> trie)
          逆向最长分词,合并未知语素
 void AhoCorasickDoubleArrayTrieSegment.setTrie(AhoCorasickDoubleArrayTrie<CoreDictionary.Attribute> trie)
           
 



Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.