Package nltk :: Module grammar :: Class FeatureValueType
[hide private]
[frames] | no frames]

type FeatureValueType

source code

object --+

A helper class for FeatureGrammars, designed to be different from ordinary strings. This is to stop the FeatStruct FOO[] from being compare equal to the terminal "FOO".

Instance Methods [hide private]
__init__(self, value) source code
__repr__(self) source code
__cmp__(self, other) source code
__hash__(self) source code
Method Details [hide private]

__init__(self, value)

source code 
Overrides: object.__init__
(inherited documentation)

(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)

(Hashing function)

source code 
Overrides: object.__hash__
(inherited documentation)