class documentation
class Feature(object): (source)
Known subclasses: nltk.featstruct.RangeFeature
, nltk.featstruct.SlashFeature
Constructor: Feature(name, default, display)
A feature identifier that's specialized to put additional constraints, default values, etc.
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __lt__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | read |
Undocumented |
Method | unify |
If possible, return a single value.. If not, return the value UnificationFailure. |
Property | default |
Default value for this feature. |
Property | display |
Custom display location: can be prefix, or slash. |
Property | name |
The name of this feature. |
Instance Variable | _default |
Undocumented |
Instance Variable | _display |
Undocumented |
Instance Variable | _name |
Undocumented |
Instance Variable | _sortkey |
Undocumented |
overridden in
nltk.featstruct.RangeFeature
If possible, return a single value.. If not, return the value UnificationFailure.