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

Class FeatureValueSet

source code

                   object --+        
                            |        
sem.logic.SubstituteBindingsI --+    
                                |    
       SubstituteBindingsSequence --+
                                    |
                       object --+   |
                                |   |
                        frozenset --+
                                    |
                                   FeatureValueSet

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

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

Inherited from SubstituteBindingsSequence: subst, substitute_bindings, variables

Inherited from frozenset: __and__, __cmp__, __contains__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __or__, __rand__, __reduce__, __ror__, __rsub__, __rxor__, __sub__, __xor__, copy, difference, intersection, issubset, issuperset, symmetric_difference, union

Inherited from object: __delattr__, __init__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: frozenset.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

repr(x)

Overrides: object.__str__
(inherited documentation)