Package nltk :: Package app :: Module chartparser_app :: Class EdgeRule
[hide private]
[frames] | no frames]

type EdgeRule

source code

object --+
         |
        EdgeRule
Known Subclasses:

To create an edge rule, make an empty base class that uses EdgeRule as the first base class, and the basic rule as the second base class. (Order matters!)

Instance Methods [hide private]
 
__init__(self, edge) source code
 
apply_iter(self, chart, grammar, *edges) source code
 
__str__(self) source code
Method Details [hide private]

__init__(self, edge)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)