"Word Form is a Form subclass representing a form that a lexeme can take when used in a sentence or a phrase." (LMF) More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | __del__ |
Destructor. More... | |
def | create_form_representation |
Create a form representation. More... | |
def | add_form_representation |
Add a form representation to the word form. More... | |
def | get_form_representations |
Get all form representations maintained by the word form. More... | |
def | set_written_form |
Set written form. More... | |
def | get_written_forms |
Get all written forms. More... | |
def | set_variant_form |
Set variant form. More... | |
def | get_variant_forms |
Get all variant forms. More... | |
def | set_person |
Set grammatical person. More... | |
def | get_person |
Get grammatical person. More... | |
def | set_anymacy |
Set grammatical anymacy. More... | |
def | get_anymacy |
Get anymacy. More... | |
def | set_grammaticalNumber |
Set grammatical number. More... | |
def | get_grammaticalNumber |
Get grammatical number. More... | |
def | set_clusivity |
Set grammatical clusivity. More... | |
def | get_clusivity |
Get grammatical clusivity. More... | |
Public Attributes | |
grammaticalNumber | |
grammaticalGender | |
person | |
anymacy | |
clusivity | |
tense | |
case | |
degree | |
voice | |
verbFormMood | |
"Word Form is a Form subclass representing a form that a lexeme can take when used in a sentence or a phrase." (LMF)
Definition at line 12 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.__init__ | ( | self | ) |
Constructor.
WordForm instances are owned by LexicalEntry.
Definition at line 15 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.__del__ | ( | self | ) |
Destructor.
Definition at line 33 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.add_form_representation | ( | self, | |
form_representation | |||
) |
Add a form representation to the word form.
form_representation | The FormRepresentation instance to add to the word form. |
Definition at line 44 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.create_form_representation | ( | self | ) |
Create a form representation.
Definition at line 38 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_anymacy | ( | self | ) |
def pylmflib.pylmflib.morphology.word_form.WordForm.get_clusivity | ( | self | ) |
Get grammatical clusivity.
Definition at line 182 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_form_representations | ( | self | ) |
Get all form representations maintained by the word form.
Definition at line 52 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_grammaticalNumber | ( | self | ) |
Get grammatical number.
Definition at line 165 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_person | ( | self | ) |
Get grammatical person.
Definition at line 131 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_variant_forms | ( | self | ) |
Get all variant forms.
This attribute is owned by FormRepresentation.
Definition at line 109 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.get_written_forms | ( | self, | |
script_name = None |
|||
) |
Get all written forms.
This attribute is owned by Representation.
script_name | If this argument is given, get written form only if written using this script. |
Definition at line 78 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_anymacy | ( | self, | |
anymacy | |||
) |
Set grammatical anymacy.
anymacy | The grammatical anymacy to set. |
Definition at line 137 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_clusivity | ( | self, | |
clusivity | |||
) |
Set grammatical clusivity.
clusivity | The grammatical clusivity to set. |
Definition at line 171 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_grammaticalNumber | ( | self, | |
grammatical_number | |||
) |
Set grammatical number.
grammatical_number | The grammatical number to set. |
Definition at line 154 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_person | ( | self, | |
person | |||
) |
Set grammatical person.
person | The grammatical person to set. |
Definition at line 120 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_variant_form | ( | self, | |
variant_form | |||
) |
Set variant form.
This attribute is owned by FormRepresentation.
variant_form | Variant form. |
Definition at line 90 of file word_form.py.
def pylmflib.pylmflib.morphology.word_form.WordForm.set_written_form | ( | self, | |
written_form, | |||
script_name = None |
|||
) |
Set written form.
This attribute is owned by Representation.
written_form | Written form. |
script_name | Script used for the written form. |
Definition at line 58 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.anymacy |
Definition at line 25 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.case |
Definition at line 28 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.clusivity |
Definition at line 26 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.degree |
Definition at line 29 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.grammaticalGender |
Definition at line 23 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.grammaticalNumber |
Definition at line 22 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.person |
Definition at line 24 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.tense |
Definition at line 27 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.verbFormMood |
Definition at line 31 of file word_form.py.
pylmflib.pylmflib.morphology.word_form.WordForm.voice |
Definition at line 30 of file word_form.py.