|
Parsing Engine | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HeadTreeNode | |
---|---|
danbikel.parser | Provides the core framework of this extensible statistical parsing engine. |
danbikel.parser.util | Utility classes for displaying and manipulating parse trees. |
Uses of HeadTreeNode in danbikel.parser |
---|
Methods in danbikel.parser that return HeadTreeNode | |
---|---|
HeadTreeNode |
HeadTreeNode.headChild()
Gets the head child of this node. |
Methods in danbikel.parser with parameters of type HeadTreeNode | |
---|---|
protected void |
Trainer.alterLowFrequencyWords(HeadTreeNode tree)
For every Word in the specified tree, if it occurred
less than Trainer.unknownWordThreshold times, then it is modified. |
protected void |
Trainer.collectModifierStats(HeadTreeNode tree,
Subcat subcat,
int gapIdx,
boolean side)
Note the O(n) operation performed on the prevModList. |
protected void |
Trainer.collectStats(Sexp orig,
HeadTreeNode tree,
boolean isRoot)
Collects the statistics from the specified tree. |
protected void |
Trainer.countVocab(HeadTreeNode tree)
Counts number of occurrences of each word in the specified tree and adds the word with this count to Trainer.vocabCounter . |
Uses of HeadTreeNode in danbikel.parser.util |
---|
Methods in danbikel.parser.util with parameters of type HeadTreeNode | |
---|---|
static void |
DebugChart.downcaseWords(HeadTreeNode tree)
|
static void |
DebugChart.findConstituents(Chart chart,
Set best,
HeadTreeNode tree)
|
static void |
DebugChart.findConstituents(String prefix,
Chart chart,
Set best,
HeadTreeNode tree)
|
static String |
DebugChart.headTreeNodeToString(HeadTreeNode node)
Returns a string of the form [start,end,label<headWord>, <headChild>] where <headWord> is the head word and where <headChild> is either a string of the form [start,end,label] or null if the specified HeadTreeNode is a preterminal. |
|
Parsing Engine | |||||||||
PREV NEXT | FRAMES NO FRAMES |