"Related Form is a Form subclass representing a word form or a morph that can be related to the Lexical Entry. There is no asumption that the Related Form is associated with the Sense class in the Lexical Entry." (LMF) More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | __del__ |
Destructor. More... | |
def | set_semanticRelation |
Set semantic relation. More... | |
def | get_semanticRelation |
Get semantic relation. More... | |
def | get_lexeme |
Get related LexicalEntry lexeme. More... | |
def | set_lexical_entry |
Set pointer to the related lexical entry instance. More... | |
def | get_lexical_entry |
Get related LexicalEntry. More... | |
def | create_and_add_form_representation |
Create and add a form representation to the related form. More... | |
def | find_written_forms |
Find written forms. More... | |
Public Attributes | |
semanticRelation | |
targets | |
"Related Form is a Form subclass representing a word form or a morph that can be related to the Lexical Entry. There is no asumption that the Related Form is associated with the Sense class in the Lexical Entry." (LMF)
Definition at line 11 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.__init__ | ( | self, | |
lexeme = None |
|||
) |
Constructor.
RelatedForm instances are owned by LexicalEntry.
lexeme | Related lexeme. If not provided, default value is None. |
Definition at line 14 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.__del__ | ( | self | ) |
Destructor.
Definition at line 29 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.create_and_add_form_representation | ( | self, | |
written_form = None , |
|||
language = None |
|||
) |
Create and add a form representation to the related form.
written_form | The written form to set. |
language | Language used for the written form. |
Definition at line 74 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.find_written_forms | ( | self, | |
language | |||
) |
Find written forms.
This attribite is owned by FormRepresentation.
language | The language to consider to retrieve the written forms. |
Definition at line 83 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.get_lexeme | ( | self | ) |
Get related LexicalEntry lexeme.
Definition at line 54 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.get_lexical_entry | ( | self | ) |
Get related LexicalEntry.
Definition at line 68 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.get_semanticRelation | ( | self | ) |
Get semantic relation.
Definition at line 48 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.set_lexical_entry | ( | self, | |
lexical_entry | |||
) |
Set pointer to the related lexical entry instance.
This function can only be called once the full dictionary has been parsed.
lexical_entry | The related LexicalEntry. |
Definition at line 60 of file related_form.py.
def pylmflib.pylmflib.morphology.related_form.RelatedForm.set_semanticRelation | ( | self, | |
semantic_relation | |||
) |
Set semantic relation.
semantic_relation | The semantic relation to set. |
Definition at line 35 of file related_form.py.
pylmflib.pylmflib.morphology.related_form.RelatedForm.semanticRelation |
Definition at line 22 of file related_form.py.
pylmflib.pylmflib.morphology.related_form.RelatedForm.targets |
Definition at line 24 of file related_form.py.