__init__(self,
form,
headword,
attributes=None)
(Constructor)
Create a word with its form, its headword and its attributes.
Example:
Word(u"heart", Headword("eng", u"heart", 1, "noun", None, "kawcesi"))
Word(u"hearts", headwords["eng", u"heart", 1], {"number": "pl"})
Word(u"hɑɹts", hw, {"number": "pl"})
Word(u"moku", "tko", moku)
-
- Parameters:
form -
The traditional, standard or neutral form of the word, either
graphical or phonical.
(type=unicode)
headword -
A headword
(type=Headword)
attributes -
The attributes of the word; default is the empty
dictionary.
Attributes can indicate word declensions or modifications.
(type=dict (srt, str))
|