| Modifier and Type | Field and Description |
|---|---|
static AhoCorasickDoubleArrayTrie<NRPattern> |
PersonDictionary.trie
AC算法用到的Trie树
|
| Modifier and Type | Field and Description |
|---|---|
static AhoCorasickDoubleArrayTrie<String> |
PlaceDictionary.trie
AC算法用到的Trie树
|
| Modifier and Type | Field and Description |
|---|---|
static AhoCorasickDoubleArrayTrie<String> |
OrganizationDictionary.trie
AC算法用到的Trie树
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<Pinyin> |
PinyinDictionary.segLongest(char[] charArray,
AhoCorasickDoubleArrayTrie<Pinyin[]> trie)
用最长分词算法匹配拼音
|
protected static List<Pinyin> |
PinyinDictionary.segLongest(char[] charArray,
AhoCorasickDoubleArrayTrie<Pinyin[]> trie,
boolean remainNone) |
| Modifier and Type | Field and Description |
|---|---|
static AhoCorasickDoubleArrayTrie<String> |
TraditionalChineseDictionary.trie
繁体=简体
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
BaseChineseDictionary.segLongest(char[] charArray,
AhoCorasickDoubleArrayTrie<String> trie) |
| Modifier and Type | Method and Description |
|---|---|
AhoCorasickDoubleArrayTrie<CoreDictionary.Attribute> |
AhoCorasickDoubleArrayTrieSegment.getTrie() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
AhoCorasickDoubleArrayTrieSegment(AhoCorasickDoubleArrayTrie<CoreDictionary.Attribute> trie) |
CommonAhoCorasickDoubleArrayTrieSegment(AhoCorasickDoubleArrayTrie<V> trie) |
Copyright © 2014–2021 码农场. All rights reserved.