class documentation
class BabelExample:
An example sentence in BabelNet.
Method | __init__ |
init method |
Instance Variable | example |
The example itself. |
Instance Variable | language |
The language of the example. |
Instance Variable | source |
The region of BabelNet from which this example comes from. |
Instance Variable | source |
The WordNet or Wikipedia sense from which the sense is taken. |
Instance Variable | tokens |
A set of BabelTokenWords. Each BabelTokenWord corresponds to the lemma that appears in this Babel example and for which it is an usage example. |
Property | license |
The license for this Babel example. |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
init method
Parameters | |
source:BabelSenseSource | The example source. |
sourcestr | The sense of the example. |
language:Language | The language the example is written in. |
example:str | the example. |
tokens:Optional[ | The tokens that belong to the example (default None). |
tokens_word_example:
Set[BabelTokenWord]
=
A set of BabelTokenWords. Each BabelTokenWord corresponds to the lemma that appears in this Babel example and for which it is an usage example.