public class WordObject extends Object implements Serializable
| Constructor and Description |
|---|
WordObject(String _word,
String key,
String type) |
WordObject(String word,
String key,
String parent,
boolean same,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParent(String parent,
boolean same) |
Set<String> |
getDiffParents() |
String |
getParent() |
String |
getRuleType() |
ArrayList<String> |
getSameParents() |
String |
getString() |
int |
getWeighting() |
String |
getWord() |
boolean |
hasParents() |
boolean |
isCustom() |
void |
setCustom(boolean custom) |
void |
setString(String key) |
void |
setWeighting(int weighting) |
void |
setWord(String word) |
Document |
toDocument(String purpose) |
public void setWord(String word)
public String getWord()
public void addParent(String parent, boolean same)
public boolean hasParents()
public String getParent()
public void setWeighting(int weighting)
public int getWeighting()
public void setString(String key)
public String getString()
public String getRuleType()
public boolean isCustom()
public void setCustom(boolean custom)
Copyright © 2021. All rights reserved.