| Package | Description |
|---|---|
| org.apdplat.word.dictionary | |
| org.apdplat.word.dictionary.impl | |
| org.apdplat.word.segmentation | |
| org.apdplat.word.segmentation.impl |
| Modifier and Type | Method and Description |
|---|---|
static Dictionary |
DictionaryFactory.getDictionary() |
| Modifier and Type | Class and Description |
|---|---|
class |
AhoCorasickDoubleArrayTrie<V>
An implemention of Aho Corasick algorithm based on Double Array Trie
|
class |
DictionaryTrie
词首字索引式前缀树
前缀树的Java实现
为前缀树的一级节点(词首字)建立索引(比二分查找要快)
用于查找一个指定的字符串是否在词典中
|
class |
DoubleArrayDictionaryTrie
双数组前缀树的Java实现
用于查找一个指定的字符串是否在词典中
An Implementation of Double-Array Trie: http://linux.thai.net/~thep/datrie/datrie.html
|
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
DictionaryBasedSegmentation.getDictionary()
获取词典操作接口
|
| Modifier and Type | Method and Description |
|---|---|
void |
DictionaryBasedSegmentation.setDictionary(Dictionary dictionary)
为基于词典的中文分词接口指定词典操作接口
|
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
AbstractSegmentation.getDictionary()
获取词典操作接口
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSegmentation.setDictionary(Dictionary dictionary)
为基于词典的中文分词接口指定词典操作接口
|
Copyright © 2014–2015 APDPlat. All rights reserved.