Package nltk_lite :: Package parse :: Module chart :: Class CachedTopDownInitRule
[show private | hide private]
[frames | no frames]

Type CachedTopDownInitRule

       object --+        
                |        
AbstractChartRule --+    
                    |    
      TopDownInitRule --+
                        |
                       CachedTopDownInitRule


A cached version of TopDownInitRule. After the first time this rule is applied, it will not generate any more edges.

If chart or grammar are changed, then the cache is flushed.
Method Summary
  __init__(self)
  __str__(self)
  apply_iter(self, chart, grammar)
Inherited from AbstractChartRule: apply, apply_everywhere, apply_everywhere_iter
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variable Summary
Inherited from TopDownInitRule: NUM_EDGES

Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 http://epydoc.sf.net