|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
String getTarget()
String getTargetSense()
RelationType getRelationType()
null
).
IWiktionaryRelation.LinkType getLinkType()
IWiktionaryRelation.LinkType
that is used to encode the relation's
target.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |