public class SpanishTreebankParserParams extends TregexPoweredTreebankParserParams
SpanishXMLTreeReader
and preprocessed with
MultiWordPreprocessor.TregexPoweredTreebankParserParams.AnnotateHeadFunction, TregexPoweredTreebankParserParams.SimpleStringFunctionAbstractTreebankParserParams.AnnotatePunctuationFunction, AbstractTreebankParserParams.RemoveGFSubcategoryStripper, AbstractTreebankParserParams.SubcategoryStripperannotationsevalGF, generateOriginalDependencies, inputEncoding, outputEncoding, tlp| Constructor and Description |
|---|
SpanishTreebankParserParams() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
baselineAnnotationFeatures()
Features which should be enabled by default.
|
AbstractCollinizer |
collinizer()
the tree transformer used to produce trees for evaluation.
|
AbstractCollinizer |
collinizerEvalb()
the tree transformer used to produce trees for evaluation.
|
java.util.List<HasWord> |
defaultTestSentence()
Return a default sentence of the language (for testing).
|
DiskTreebank |
diskTreebank()
Allows you to read in trees from the source you want.
|
void |
display()
Output a description of the current annotation configuration to
standard error.
|
HeadFinder |
headFinder()
The HeadFinder to use for your treebank.
|
Lexicon |
lex(Options op,
Index<java.lang.String> wordIndex,
Index<java.lang.String> tagIndex)
Vends a
Lexicon object suitable to the particular language/treebank combination of interest. |
MemoryTreebank |
memoryTreebank()
Allows you to read in trees from the source you want.
|
void |
setHeadFinder(HeadFinder hf) |
int |
setOptionFlag(java.lang.String[] args,
int i)
Set language-specific options according to flags.
|
java.lang.String[] |
sisterSplitters()
Returns the splitting strings used for selective splits.
|
TreeReaderFactory |
treeReaderFactory()
Returns a factory for reading in trees from the source you want.
|
HeadFinder |
typedDependencyHeadFinder()
The HeadFinder to use when extracting typed dependencies.
|
addFeature, compileAnnotations, getAnnotationString, removeFeature, transformTreedefaultCoreNLPFlags, dependencyGrammarExtractor, generateOriginalDependencies, getGrammaticalStructure, getInputEncoding, getOutputEncoding, isEvalGF, MLEDependencyGrammarSmoothingParams, ppAttachmentEval, processHeadWord, pw, pw, readGrammaticalStructureFromFile, setEvalGF, setEvaluateGrammaticalFunctions, setGenerateOriginalDependencies, setInputEncoding, setOutputEncoding, subcategoryStripper, supportsBasicDependencies, testMemoryTreebank, treebank, treebankLanguagePack, treeTokenizerFactoryprotected java.lang.String[] baselineAnnotationFeatures()
baselineAnnotationFeatures in class TregexPoweredTreebankParserParamsbuildAnnotations()public HeadFinder headFinder()
AbstractTreebankParserParamsheadFinder in interface TreebankLangParserParamsheadFinder in class AbstractTreebankParserParamspublic HeadFinder typedDependencyHeadFinder()
AbstractTreebankParserParamstypedDependencyHeadFinder in interface TreebankLangParserParamstypedDependencyHeadFinder in class AbstractTreebankParserParamspublic Lexicon lex(Options op, Index<java.lang.String> wordIndex, Index<java.lang.String> tagIndex)
TreebankLangParserParamsLexicon object suitable to the particular language/treebank combination of interest.lex in interface TreebankLangParserParamslex in class AbstractTreebankParserParamsop - Options as to how the Lexicon behavespublic java.lang.String[] sisterSplitters()
AbstractTreebankParserParamssisterSplitters in interface TreebankLangParserParamssisterSplitters in class AbstractTreebankParserParamspublic AbstractCollinizer collinizer()
AbstractTreebankParserParamscollinizer in interface TreebankLangParserParamscollinizer in class AbstractTreebankParserParamspublic AbstractCollinizer collinizerEvalb()
AbstractTreebankParserParamscollinizerEvalb in interface TreebankLangParserParamscollinizerEvalb in class AbstractTreebankParserParamspublic DiskTreebank diskTreebank()
AbstractTreebankParserParamsdiskTreebank in interface TreebankLangParserParamsdiskTreebank in class AbstractTreebankParserParamspublic MemoryTreebank memoryTreebank()
AbstractTreebankParserParamsmemoryTreebank in interface TreebankLangParserParamsmemoryTreebank in class AbstractTreebankParserParamspublic int setOptionFlag(java.lang.String[] args,
int i)
Options.setOption(String[], int), and implementations of this
method do not have to worry about them. The Options class handles routing options. TreebankParserParams that extend
this class should call super when overriding this method.setOptionFlag in interface TreebankLangParserParamssetOptionFlag in class AbstractTreebankParserParamsargs - Command-line arguments, still including leading dashesi - index in array to start processing frompublic TreeReaderFactory treeReaderFactory()
AbstractTreebankParserParamstreeReaderFactory in interface TreebankLangParserParamstreeReaderFactory in class AbstractTreebankParserParamspublic java.util.List<HasWord> defaultTestSentence()
AbstractTreebankParserParamsdefaultTestSentence in interface TreebankLangParserParamsdefaultTestSentence in class AbstractTreebankParserParamspublic void display()
TregexPoweredTreebankParserParamsdisplay in interface TreebankLangParserParamsdisplay in class TregexPoweredTreebankParserParamspublic void setHeadFinder(HeadFinder hf)