|
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.english.Training
danbikel.parser.english.NPArgThreadTraining
public class NPArgThreadTraining
This class is identical to Training, except
that the preProcess(Sexp) method invokes
AbstractTraining.threadNPArgAugmentations(Sexp).
| Field Summary |
|---|
| Fields inherited from class danbikel.parser.lang.AbstractTraining |
|---|
addGapInfo, argAugmentations, argContexts, argContextsSym, argNonterminals, baseNP, canonicalAugDelimSym, defaultArgAugmentation, delimAndGapStr, delimAndGapStrLen, gapAugmentation, headFinder, headPostSym, headPreSym, headSym, metadataPropertyPrefix, nodesToPrune, nodesToPruneSym, NP, prunedPreterms, prunedPunctuation, relabelHeadChildrenAsArgs, repairBaseNPs, semTagArgStopListSym, semTagArgStopSet, traceTag, treebank, wordsToPrune |
| Constructor Summary | |
|---|---|
NPArgThreadTraining()
The default constructor, to be invoked by Language. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Test driver for this class. |
Sexp |
preProcess(Sexp tree)
Identical to Training.preProcess(danbikel.lisp.Sexp), except
that AbstractTraining.threadNPArgAugmentations(danbikel.lisp.Sexp) is invoked
after all other preprocessing methods. |
| Methods inherited from class danbikel.parser.english.Training |
|---|
fixSubjectlessSentences, isTypeOfSentence, postProcess, relabelSubjectlessSentences, removeWord, unrepairBaseNPs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NPArgThreadTraining()
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 preProcess(Sexp tree)
Training.preProcess(danbikel.lisp.Sexp), except
that AbstractTraining.threadNPArgAugmentations(danbikel.lisp.Sexp) is invoked
after all other preprocessing methods.
preProcess in interface TrainingpreProcess in class Trainingtree - the tree to be pre-processed
public static void main(String[] args)
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||