public class SynonymsEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IWord |
rootWord
the Synonyms root word
|
| Constructor and Description |
|---|
SynonymsEntry() |
SynonymsEntry(IWord rootWord) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IWord word)
add a new synonyms word
and the newly added word will extends the part of speech and the entity
from the base word if there are not set
|
List<IWord> |
getList()
return the synonyms list
|
IWord |
getRootWord()
return the base word
|
void |
setRootWord(IWord rootWord) |
int |
size() |
protected IWord rootWord
public SynonymsEntry()
public SynonymsEntry(IWord rootWord)
public IWord getRootWord()
public void setRootWord(IWord rootWord)
public int size()
public void add(IWord word)
IWord - Copyright © 2017. All Rights Reserved.