"Equivalent is a class representing the translation equivalent of the word form managed by the Lemma class." (LMF) More...
Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | __del__ |
| Destructor. More... | |
| def | set_translation |
| Set translation and language. More... | |
| def | get_translation |
| Get translation. More... | |
| def | set_language |
| Set language used for translation. More... | |
| def | get_language |
| Get language used for translation. More... | |
Public Attributes | |
| language | |
| translation | |
| text_representation | |
| TextRepresentation instances are owned by Equivalent There is zero to many TextRepresentation instances per Equivalent. More... | |
"Equivalent is a class representing the translation equivalent of the word form managed by the Lemma class." (LMF)
Definition at line 8 of file equivalent.py.
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.__init__ | ( | self | ) |
Constructor.
Equivalent instances are owned by Sense.
Definition at line 11 of file equivalent.py.
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.__del__ | ( | self | ) |
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.get_language | ( | self | ) |
Get language used for translation.
Definition at line 61 of file equivalent.py.
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.get_translation | ( | self, | |
language = None |
|||
| ) |
Get translation.
| language | If this argument is given, get translation only if written in this language. |
Definition at line 43 of file equivalent.py.
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.set_language | ( | self, | |
| language | |||
| ) |
Set language used for translation.
| language | Language used for the translation. |
Definition at line 51 of file equivalent.py.
| def pylmflib.pylmflib.mrd.equivalent.Equivalent.set_translation | ( | self, | |
| translation, | |||
language = None |
|||
| ) |
Set translation and language.
| translation | The translation to set. |
| language | Language used for the translation. |
Definition at line 30 of file equivalent.py.
| pylmflib.pylmflib.mrd.equivalent.Equivalent.language |
Definition at line 16 of file equivalent.py.
| pylmflib.pylmflib.mrd.equivalent.Equivalent.text_representation |
TextRepresentation instances are owned by Equivalent There is zero to many TextRepresentation instances per Equivalent.
Definition at line 20 of file equivalent.py.
| pylmflib.pylmflib.mrd.equivalent.Equivalent.translation |
Definition at line 17 of file equivalent.py.
1.8.7