| Trees | Indices | Help |
|
|---|
|
|
object --+
|
SpanCombiner
For various purposes, we want to combine adjacent identical spanning edges into one before adding them to the chart. This class makes it easy to keep track of what additional edges should be added when a new edges is added to do this.
Use this by adding edges to this combiner in the order they'd get added to the main chart (from the lexicon). combine_edge returns the additional spans that should be added along with this edge (with the same category). We assume that those additional edges were added - they get added to the combiner for future reference.
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |