|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.wikisaurus.WikisaurusEntry
public class WikisaurusEntry
Intermediate representation of Wikisaurus articles used by the
WikisaurusArticleParser
. The information stored in this
class will be transfered to the main article structure (i.e., the
IWiktionarySense
s) if requested.
Constructor Summary | |
---|---|
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) |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WikisaurusEntry(String title, PartOfSpeech partOfSpeech, ILanguage language, String senseDefinition)
Method Detail |
---|
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()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |