class BabelPointer(Enum):
Models a semantic pointer in BabelNet. Includes an associative (i.e. semantically unspecified) relation. Notes: At runtime this Enum is expanded with additional values.
Class Method | from |
Return the pointer types that match the specified pointer name. |
Class Method | from |
Return the pointer type that matches the specified pointer symbol. |
Method | __init__ |
init method |
Constant | ALSO |
Also See from WordNet. |
Constant | ANTONYM |
Antonym from WordNet. |
Constant | ANY |
Holonyms from all res. |
Constant | ANY |
Hypernyms from all res. |
Constant | ANY |
Hyponyms from all res. |
Constant | ANY |
Meronyms from all res. |
Constant | ATTRIBUTE |
Attribute from WordNet. |
Constant | CAUSE |
Cause from WordNet. |
Constant | DERIVATIONALLY |
Derivationally related form from WordNet. |
Constant | ENTAILMENT |
Entailment from WordNet. |
Constant | GLOSS |
Gloss related form (disambiguated) from WordNet. |
Constant | GLOSS |
Gloss related form (monosemous) from WordNet. |
Constant | HOLONYM |
Member holonym from WordNet. |
Constant | HOLONYM |
Part holonym from WordNet. |
Constant | HOLONYM |
Substance holonym from WordNet. |
Constant | HYPERNYM |
Hypernym from WordNet. |
Constant | HYPERNYM |
Instance hypernym from WordNet. |
Constant | HYPONYM |
Hyponym from WordNet. |
Constant | HYPONYM |
Instance hyponym from WordNet. |
Constant | MERONYM |
Member meronym from WordNet. |
Constant | MERONYM |
Part meronym from WordNet. |
Constant | MERONYM |
Substance meronym from WordNet. |
Constant | PARTICIPLE |
Participle from WordNet. |
Constant | PERTAINYM |
Pertainym from WordNet. |
Constant | REGION |
Domain of synset - REGION from WordNet. |
Constant | REGION |
Member of this domain from WordNet. |
Constant | SEMANTICALLY |
Wikipedia relations. |
Constant | SIMILAR |
Similar To from WordNet. |
Constant | TOPIC |
Domain of synset - TOPIC from WordNet. |
Constant | TOPIC |
Member of this domain - TOPIC from WordNet. |
Constant | USAGE |
Domain of synset - USAGE from WordNet. |
Constant | USAGE |
Member of this domain - USAGE from WordNet. |
Constant | VERB |
Verb Group from WordNet. |
Constant | WIBI |
Hypernym from Wikipedia Bitaxonomy. |
Constant | WIBI |
Hyponym from Wikipedia Bitaxonomy. |
Constant | WIKIDATA |
Hypernym from Wikidata. |
Constant | WIKIDATA |
Hyponym from Wikidata. |
Constant | WIKIDATA |
Hyponym instance from Wikidata. |
Constant | WIKIDATA |
Meronym from Wikidata. |
Instance Variable | is |
Is automatic relation (default False). |
Instance Variable | relation |
Relation group the pointer belongs to (e.g. HYPERNYM). |
Instance Variable | relation |
Relation name. |
Instance Variable | short |
Relation short name. |
Instance Variable | symbol |
The symbol in BabelNet data files that is used to indicate this pointer type. |
Property | is |
True if the relation is of a holonym kind. |
Property | is |
True if the relation is of a hypernymy kind. |
Property | is |
True if the relation is of a hyponymy kind. |
Property | is |
True if the relation is of a meronym kind. |
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Return the pointer types that match the specified pointer name.
Parameters | |
name:str | The name string of the relations. |
Returns | |
List[BabelPointer] | The BabelPointers corresponding to the given name. |
Raises | |
BabelPointerNotPresentError | Raised if the name does not correspond to a known pointer. |
Return the pointer type that matches the specified pointer symbol.
Parameters | |
symbol:str | The string representation of the semantic relation. |
Returns | |
BabelPointer | The type of semantic relation. |
Raises | |
BabelPointerNotPresentError | Raised if the name does not correspond to a known pointer. |
init method
Parameters | |
symbol:str | The symbol in BabelNet data files that is used to indicate this pointer type. |
relationstr | Relation name. |
shortstr | Relation short name. |
relationRelationGroup | Relation group the pointer belongs to (e.g. HYPERNYM) (default: RelationGroup.OTHER). |
isbool | Is automatic relation (default False). |
BabelPointer
=
Holonyms from all res.
Value |
|
BabelPointer
=
Hypernyms from all res.
Value |
|
BabelPointer
=
Hyponyms from all res.
Value |
|
BabelPointer
=
Meronyms from all res.
Value |
|
BabelPointer
=
Derivationally related form from WordNet.
Value |
|
BabelPointer
=
Gloss related form (disambiguated) from WordNet.
Value |
|
BabelPointer
=
Gloss related form (monosemous) from WordNet.
Value |
|
BabelPointer
=
Member holonym from WordNet.
Value |
|
BabelPointer
=
Part holonym from WordNet.
Value |
|
BabelPointer
=
Substance holonym from WordNet.
Value |
|
BabelPointer
=
Hypernym from WordNet.
Value |
|
BabelPointer
=
Instance hypernym from WordNet.
Value |
|
BabelPointer
=
Hyponym from WordNet.
Value |
|
BabelPointer
=
Instance hyponym from WordNet.
Value |
|
BabelPointer
=
Member meronym from WordNet.
Value |
|
BabelPointer
=
Part meronym from WordNet.
Value |
|
BabelPointer
=
Substance meronym from WordNet.
Value |
|
BabelPointer
=
Pertainym from WordNet.
Value |
|
BabelPointer
=
Domain of synset - REGION from WordNet.
Value |
|
BabelPointer
=
Member of this domain from WordNet.
Value |
|
BabelPointer
=
Wikipedia relations.
Value |
|
BabelPointer
=
Domain of synset - TOPIC from WordNet.
Value |
|
BabelPointer
=
Member of this domain - TOPIC from WordNet.
Value |
|
BabelPointer
=
Domain of synset - USAGE from WordNet.
Value |
|
BabelPointer
=
Member of this domain - USAGE from WordNet.
Value |
|
BabelPointer
=
Hypernym from Wikipedia Bitaxonomy.
Value |
|
BabelPointer
=
Hyponym from Wikipedia Bitaxonomy.
Value |
|
BabelPointer
=
Hypernym from Wikidata.
Value |
|
BabelPointer
=
Hyponym from Wikidata.
Value |
|
BabelPointer
=
Hyponym instance from Wikidata.
Value |
|
BabelPointer
=
Meronym from Wikidata.
Value |
|