Package nltk_lite :: Package contrib :: Module models :: Class Valuation
[show private | hide private]
[frames | no frames]

Type Valuation

object --+    
         |    
      dict --+
             |
            Valuation


A dictionary which represents a model-theoretic Valuation of non-logical constants.
Method Summary
  __init__(self, valuation)
  __getitem__(self, key)
  __str__(self)
Valuation parse(self, seq)
Parse a list such as [('j', 'b1'), ('girl', set(['g1', 'g2']))] into a Valuation.
  _getDomain(self)
  _getSymbols(self)
Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, clear, copy, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values
Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__
Inherited from type: fromkeys

Property Summary
  domain