public class JapanesePersonDictionary extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JapanesePersonDictionary.Searcher
最长分词
|
| Modifier and Type | Field and Description |
|---|---|
static char |
A
bad case
|
static char |
M
名
|
static char |
X
姓
|
| Constructor and Description |
|---|
JapanesePersonDictionary() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsKey(String key)
是否包含key
|
static boolean |
containsKey(String key,
int length)
包含key,且key至少长length
|
static Character |
get(String key) |
static DoubleArrayTrie.LongestSearcher |
getSearcher(char[] charArray) |
public static final char X
public static final char M
public static final char A
public static boolean containsKey(String key)
key - public static boolean containsKey(String key, int length)
key - length - public static DoubleArrayTrie.LongestSearcher getSearcher(char[] charArray)
Copyright © 2014–2021 码农场. All rights reserved.