| Trees | Indices | Help |
|
|---|
|
|
object --+
|
MorphItem
A morphological item - a word. Stores the word and the POS. Words are stored as strings, unlike in OpenCCG. We don't need all the extra information about words that OpenCCG holds.
The word field stores a list of strings, defining all the words
represented by this morph item. In the case of a <entry
pos="POS" word="WORD"/> item, this is a
single word, but in the case of a <entry pos="POS"
class="CLASS"/> item, this is all the words contained
in the class CLASS.
The argument classes should be a dictionary mapping class names to ChordClass objects, for all the classes that have been read in for the grammar.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
| desc | |||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
repr(x)
|
|
|||
desc
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |