public class WikisaurusEntry extends Object
WikisaurusArticleParser
. The information stored in this
class will be transfered to the main article structure (i.e., the
IWiktionarySense
s) if requested.Constructor and Description |
---|
WikisaurusEntry(String title,
PartOfSpeech partOfSpeech,
ILanguage language,
String senseDefinition)
Instanciates a new entry with the given title, part of speech,
language, and sense definition (optional)
|
Modifier and Type | Method and Description |
---|---|
void |
addRelation(String target,
String targetSense,
RelationType type)
Adds a new
WiktionaryRelation to this entry based on the
given parameters. |
ILanguage |
getLanguage()
Returns the word language.
|
PartOfSpeech |
getPartOfSpeech()
Returns the part of speech tag.
|
Set<WiktionaryRelation> |
getRelations()
Returns the semantic relations.
|
String |
getSenseDefinition()
Returns the sense definition.
|
String |
getTitle()
Returns the page title.
|
String |
toString() |
public WikisaurusEntry(String title, PartOfSpeech partOfSpeech, ILanguage language, String senseDefinition)
public void addRelation(String target, String targetSense, RelationType type)
WiktionaryRelation
to this entry based on the
given parameters.public String getTitle()
public PartOfSpeech getPartOfSpeech()
public ILanguage getLanguage()
public String getSenseDefinition()
public Set<WiktionaryRelation> getRelations()
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.