|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanbikel.parser.lang.AbstractTraining
danbikel.parser.chinese.Training
danbikel.parser.chinese.NoNPBTraining
public class NoNPBTraining
This class is identical to its superclass
Training,
except that it overrides
AbstractTraining.addBaseNPs(Sexp)
to do nothing.
| Field Summary |
|---|
| Fields inherited from class danbikel.parser.lang.AbstractTraining |
|---|
addGapInfo, argAugmentations, argContexts, argNonterminals, baseNP, canonicalAugDelimSym, defaultArgAugmentation, delimAndGapStr, delimAndGapStrLen, gapAugmentation, headFinder, headPostSym, headPreSym, headSym, metadataPropertyPrefix, nodesToPrune, NP, prunedPreterms, prunedPunctuation, relabelHeadChildrenAsArgs, repairBaseNPs, semTagArgStopSet, traceTag, treebank, wordsToPrune |
| Constructor Summary | |
|---|---|
NoNPBTraining()
The default constructor, to be invoked by Language. |
|
| Method Summary | |
|---|---|
Sexp |
addBaseNPs(Sexp tree)
We override this method from the default implementation so that it does nothing. |
static void |
main(String[] args)
Test driver for this class. |
| Methods inherited from class danbikel.parser.chinese.Training |
|---|
combineRightSiblingsOfDe5, relabelSubjectlessSentences, unrepairBaseNPs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoNPBTraining()
throws FileNotFoundException,
IOException
Language.
This constructor looks for a resource named by the property
metadataPropertyPrefix + language
where metadataPropertyPrefix is the value of
the constant AbstractTraining.metadataPropertyPrefix and language
is the value of Settings.get(Settings.language).
For example, the property for English is
"parser.training.metadata.english".
FileNotFoundException
IOException| Method Detail |
|---|
public Sexp addBaseNPs(Sexp tree)
addBaseNPs in interface TrainingaddBaseNPs in class AbstractTrainingtree - the parse tree in which to add and/or relabel base NPs
treeAbstractTraining.hasPossessiveChild(Sexp),
Treebank.isNP(Symbol),
Treebank.baseNPLabel(),
Treebank.NPLabel()public static void main(String[] args)
main of the
superclass with the specified argument array.
Training.main(String[])
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||