| Modifier and Type | Method and Description |
|---|---|
static <T> DoubleArrayTrie<T> |
DoubleArrayTrie.unSerialize(String path) |
| Modifier and Type | Field and Description |
|---|---|
static DoubleArrayTrie<CoreDictionary.Attribute> |
CustomDictionary.dat |
static DoubleArrayTrie<CoreDictionary.Attribute> |
CoreDictionary.trie |
| Constructor and Description |
|---|
Searcher(char[] c,
DoubleArrayTrie<Character> trie) |
Searcher(String text,
DoubleArrayTrie<Character> trie) |
| Modifier and Type | Method and Description |
|---|---|
static BaseSearcher |
PinyinDictionary.getSearcher(char[] charArray,
DoubleArrayTrie<Pinyin[]> trie) |
| Constructor and Description |
|---|
Searcher(char[] c,
DoubleArrayTrie<Pinyin[]> trie) |
Searcher(String text,
DoubleArrayTrie<Pinyin[]> trie) |
| Modifier and Type | Method and Description |
|---|---|
static BaseSearcher |
BaseChineseDictionary.getSearcher(char[] charArray,
DoubleArrayTrie<String> trie) |
protected static String |
BaseChineseDictionary.segLongest(char[] charArray,
DoubleArrayTrie<String> trie) |
| Constructor and Description |
|---|
Searcher(char[] c,
DoubleArrayTrie<String> trie) |
Searcher(String text,
DoubleArrayTrie<String> trie) |
| Modifier and Type | Field and Description |
|---|---|
DoubleArrayTrie<CoreDictionary.Attribute> |
DoubleArrayTrieSegment.trie
分词用到的trie树,可以直接赋值为自己的trie树(赋值操作不保证线程安全)
|
| Constructor and Description |
|---|
DoubleArrayTrieSegment(DoubleArrayTrie<CoreDictionary.Attribute> trie)
根据自己的trie树构造分词器
|
Copyright © 2014–2018 码农场. All rights reserved.