|
Sort the given queue of Edges, placing the edge that
should be tried first at the beginning of the queue. This method will be
called after each Edge is added to the queue.
- Parameters:
queue - The queue of Edges to sort. Each edge in this queue
is an edge that could be added to the chart by the fundamental
rule; but that has not yet been added.
chart - The chart being used to parse the text. This chart can be used
to provide extra information for sorting the queue.
- Returns:
None
- Overrides:
BottomUpProbabilisticChartParser.sort_queue
- (inherited documentation)
|