public class FrenchTreebankParserParams extends TregexPoweredTreebankParserParams
TregexPoweredTreebankParserParams.AnnotateHeadFunction, TregexPoweredTreebankParserParams.SimpleStringFunctionAbstractTreebankParserParams.RemoveGFSubcategoryStripper, AbstractTreebankParserParams.SubcategoryStripperannotationsevalGF, generateOriginalDependencies, inputEncoding, outputEncoding, tlp| Constructor and Description |
|---|
FrenchTreebankParserParams() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
baselineAnnotationFeatures()
Features which should be enabled by default.
|
TreeTransformer |
collinizer()
the tree transformer used to produce trees for evaluation.
|
TreeTransformer |
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()
returns a DiskTreebank appropriate to the treebank source
|
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()
returns a MemoryTreebank appropriate to the treebank source
|
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.
|
Tree |
transformTree(Tree t,
Tree root)
This method does language-specific tree transformations such as annotating particular nodes with language-relevant
features.
|
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, removeFeaturedefaultCoreNLPFlags, dependencyGrammarExtractor, dependencyObjectify, generateOriginalDependencies, getGrammaticalStructure, getInputEncoding, getOutputEncoding, isEvalGF, MLEDependencyGrammarSmoothingParams, parsevalObjectify, parsevalObjectify, ppAttachmentEval, processHeadWord, pw, pw, readGrammaticalStructureFromFile, setEvalGF, setEvaluateGrammaticalFunctions, setGenerateOriginalDependencies, setInputEncoding, setOutputEncoding, subcategoryStripper, supportsBasicDependencies, testMemoryTreebank, treebank, treebankLanguagePack, treeTokenizerFactory, typedDependencyClasser, typedDependencyObjectify, unorderedTypedDependencyObjectify, unorderedUntypedDependencyObjectify, untypedDependencyObjectifyprotected java.lang.String[] baselineAnnotationFeatures()
baselineAnnotationFeatures in class TregexPoweredTreebankParserParamspublic 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 - Lexicon optionspublic java.lang.String[] sisterSplitters()
AbstractTreebankParserParamssisterSplitters in interface TreebankLangParserParamssisterSplitters in class AbstractTreebankParserParamspublic TreeTransformer collinizer()
AbstractTreebankParserParamscollinizer in interface TreebankLangParserParamscollinizer in class AbstractTreebankParserParamspublic TreeTransformer 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 TreeReaderFactory treeReaderFactory()
TreebankLangParserParamspublic java.util.List<HasWord> defaultTestSentence()
TreebankLangParserParamspublic Tree transformTree(Tree t, Tree root)
TregexPoweredTreebankParserParamst. It changes both labels and the tree shape.transformTree in interface TreebankLangParserParamstransformTree in class TregexPoweredTreebankParserParamst - The input tree (with non-language specific annotation already done, so you need to strip back to basic
categories)root - The root of the current tree (can be null for words)public void display()
TregexPoweredTreebankParserParamsdisplay in interface TreebankLangParserParamsdisplay in class TregexPoweredTreebankParserParamspublic int setOptionFlag(java.lang.String[] args,
int i)
AbstractTreebankParserParams
Generic options are processed separately by
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 - Array of command line argumentsi - Index in command line arguments to try to process as an option