de.tudarmstadt.ukp.jwktl.api
Interface IWiktionaryRelation

All Known Implementing Classes:
WiktionaryRelation

public interface IWiktionaryRelation

Represents a paradigmatic relation between lexical entries or word senses. A relations consists of a source and a target as well as additional information on this relationship, such as a type identifier (e.g., synonymy, hyponymy, antonymy). The source of the relation is always a IWiktionarySense. For relations that have not yet been attached to a certain word sense or that are not depending on a certain word sense (e.g., for derived terms that hold for an entire lexical entry), the unassigned sense (IWiktionaryEntry.getUnassignedSense()) is used. The target of a relation is given as a word form, sometimes including additional hints on the word sense, such as sense indices or grammatical information.

Author:
Christian M. Meyer

Nested Class Summary
static class IWiktionaryRelation.LinkType
          Types of a link used by getLinkType().
 
Method Summary
 IWiktionaryRelation.LinkType getLinkType()
          Returns the IWiktionaryRelation.LinkType that is used to encode the relation's target.
 RelationType getRelationType()
          Returns the type of this relation (never null).
 String getTarget()
          Returns the target word form of this relation.
 String getTargetSense()
          Returns additional information on the word sense of the relation's target.
 

Method Detail

getTarget

String getTarget()
Returns the target word form of this relation.


getTargetSense

String getTargetSense()
Returns additional information on the word sense of the relation's target. This is not yet structured information, but the bare piece of text encoded in Wiktionary.


getRelationType

RelationType getRelationType()
Returns the type of this relation (never null).


getLinkType

IWiktionaryRelation.LinkType getLinkType()
Returns the IWiktionaryRelation.LinkType that is used to encode the relation's target.



Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.