| Package | Description |
|---|---|
| com.hankcs.hanlp.corpus.synonym | |
| com.hankcs.hanlp.dictionary.common |
| Modifier and Type | Field and Description |
|---|---|
Synonym.Type |
Synonym.type |
| Modifier and Type | Method and Description |
|---|---|
static Synonym.Type |
Synonym.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Synonym.Type[] |
Synonym.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Synonym(String realWord,
long id,
Synonym.Type type) |
| Modifier and Type | Field and Description |
|---|---|
Synonym.Type |
CommonSynonymDictionary.SynonymItem.type
这个条目的类型,同义词或同类词或封闭词
|
| Modifier and Type | Method and Description |
|---|---|
Synonym |
CommonSynonymDictionary.SynonymItem.randomSynonym(Synonym.Type type,
String preWord)
随机挑一个近义词
|
| Constructor and Description |
|---|
SynonymItem(Synonym entry,
List<Synonym> synonymList,
Synonym.Type type) |
Copyright © 2014–2021 码农场. All rights reserved.