Package nltk :: Module featstruct :: Class FeatureValueTuple
[hide private]
[frames] | no frames]

Class FeatureValueTuple

source code

                   object --+        
                            |        
sem.logic.SubstituteBindingsI --+    
                                |    
       SubstituteBindingsSequence --+
                                    |
                       object --+   |
                                |   |
                            tuple --+
                                    |
                                   FeatureValueTuple

A base feature value that is a tuple of other base feature values. FeatureValueTuple implements SubstituteBindingsI, so it any variable substitutions will be propagated to the elements contained by the set. FeatureValueTuples are immutable.

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code

Inherited from SubstituteBindingsSequence: subst, substitute_bindings, variables

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __rmul__

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: tuple.__repr__
(inherited documentation)