public class CommonAhoCorasickDoubleArrayTrieSegment<V> extends Object
| Constructor and Description |
|---|
CommonAhoCorasickDoubleArrayTrieSegment(AhoCorasickDoubleArrayTrie<V> trie) |
CommonAhoCorasickDoubleArrayTrieSegment(TreeMap<String,V> dictionary) |
| Modifier and Type | Method and Description |
|---|---|
LinkedList<ResultTerm<V>> |
segment(char[] text) |
LinkedList<ResultTerm<V>> |
segment(String text) |
public CommonAhoCorasickDoubleArrayTrieSegment(AhoCorasickDoubleArrayTrie<V> trie)
public LinkedList<ResultTerm<V>> segment(String text)
public LinkedList<ResultTerm<V>> segment(char[] text)
Copyright © 2014–2021 码农场. All rights reserved.