Modifier and Type | Method and Description |
---|---|
RelationType |
IWiktionaryRelation.getRelationType()
Returns the type of this relation (never
null ). |
static RelationType |
RelationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
RelationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<IWiktionaryRelation> |
IWiktionaryEntry.getRelations(RelationType relationType)
Returns a list containing all semantic relations of the entry's senses
(including the unassigned sense) of the given type.
|
List<IWiktionaryRelation> |
IWiktionarySense.getRelations(RelationType relationType)
Returns the list of sense relations of the given relation type.
|
Modifier and Type | Field and Description |
---|---|
protected RelationType |
WiktionaryRelation.type |
Modifier and Type | Method and Description |
---|---|
RelationType |
WiktionaryRelation.getRelationType() |
Modifier and Type | Method and Description |
---|---|
List<IWiktionaryRelation> |
WiktionarySense.getRelations(RelationType relationType) |
List<IWiktionaryRelation> |
WiktionaryEntry.getRelations(RelationType relationType) |
Constructor and Description |
---|
WiktionaryRelation(String target,
RelationType type)
Creates a new relation for the given target and relation type.
|
Modifier and Type | Field and Description |
---|---|
protected RelationType |
DERelationHandler.relationType |
Constructor and Description |
---|
DERelationHandler(RelationType relationType,
String... labels)
Initializes the block handler for parsing all sections starting with
one of the specified labels.
|
Modifier and Type | Field and Description |
---|---|
protected RelationType |
ENRelationHandler.relationType |
Constructor and Description |
---|
ENRelationHandler(RelationType relationType,
String... labels)
Initializes the block handler for the given relation type and
section headers.
|
ENSemanticRelationHandler(RelationType relationType,
String... labels) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,RelationType> |
WikisaurusArticleParser.relTypeMap |
Modifier and Type | Method and Description |
---|---|
void |
WikisaurusEntry.addRelation(String target,
String targetSense,
RelationType type)
Adds a new
WiktionaryRelation to this entry based on the
given parameters. |
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.