public class TopNGramRecord extends Object
| Constructor and Description |
|---|
TopNGramRecord(int numClasses,
int ngramCount,
int maximumLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
countTree(Tree tree)
Adds the tree and all its subtrees to the appropriate
PriorityQueues for each predicted class.
|
String |
toString() |