class documentation
class BabelLemmaType(OrderedEnum):
Types of lemmas in BabelNet.
Class Method | from |
Get the lemma type from a BabelSenseSource and its Language. |
Constant | AUTOMATIC |
Lemmas resulting from automatic translations (suggested use only for automatic text processing). |
Constant | HIGH |
High quality lemmas, coming from professionally-curated res (such as WordNet or WordAtlas) or reliable crowdsources res. |
Constant | POTENTIAL |
Mostly Wikipedia redirections, which might be synonyms, near synonyms or related terms. |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Get the lemma type from a BabelSenseSource and its Language.
Parameters | |
source:BabelSenseSource | The sense source. |
language:Optional[ | The sense language. |
Returns | |
BabelLemmaType | The lemma type. |
AUTOMATIC_TRANSLATION:
BabelLemmaType
=
Lemmas resulting from automatic translations (suggested use only for automatic text processing).
Value |
|
HIGH_QUALITY:
BabelLemmaType
=
High quality lemmas, coming from professionally-curated res (such as WordNet or WordAtlas) or reliable crowdsources res.
Value |
|
POTENTIAL_NEAR_SYNONYM_OR_WORSE:
BabelLemmaType
=
Mostly Wikipedia redirections, which might be synonyms, near synonyms or related terms.
Value |
|