public class ArabicTreebankLanguagePack extends AbstractTreebankLanguagePack
The encoding for the ATB is the default UTF-8 specified in AbstractTreebankLanguagePack.
DEFAULT_ENCODING, DEFAULT_GF_CHAR, generateOriginalDependencies, gfCharacter
Constructor and Description |
---|
ArabicTreebankLanguagePack() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
evalBIgnoredPunctuationTags()
Returns a String array of punctuation tags that EVALB-style evaluation
should ignore for this treebank/language.
|
TokenizerFactory<? extends HasWord> |
getTokenizerFactory()
Return a tokenizer which might be suitable for tokenizing text
that will be used with this Treebank/Language pair.
|
HeadFinder |
headFinder()
The HeadFinder to use for your treebank.
|
char[] |
labelAnnotationIntroducingCharacters()
Return an array of characters at which a String should be
truncated to give the basic syntactic category of a label.
|
static void |
main(java.lang.String[] args) |
MorphoFeatureSpecification |
morphFeatureSpec()
Returns a morphological feature specification for words in this language.
|
java.lang.String[] |
punctuationTags()
Returns a String array of punctuation tags for this treebank/language.
|
java.lang.String[] |
punctuationWords()
Returns a String array of punctuation words for this treebank/language.
|
java.lang.String[] |
sentenceFinalPunctuationTags()
Returns a String array of sentence final punctuation tags for this
treebank/language.
|
java.lang.String[] |
sentenceFinalPunctuationWords()
Returns a String array of sentence final punctuation words for this
treebank/language.
|
java.lang.String[] |
startSymbols()
Returns a String array of treebank start symbols.
|
java.lang.String |
toString() |
java.lang.String |
treebankFileExtension()
Returns the extension of treebank files for this treebank.
|
TreeReaderFactory |
treeReaderFactory()
Returns a TreeReaderFactory suitable for general purpose use
with this language/treebank.
|
HeadFinder |
typedDependencyHeadFinder()
The HeadFinder to use when making typed dependencies.
|
basicCategory, categoryAndFunction, evalBIgnoredPunctuationTagAcceptFilter, evalBIgnoredPunctuationTagRejectFilter, generateOriginalDependencies, getBasicCategoryFunction, getCategoryAndFunctionFunction, getEncoding, getGfCharacter, grammaticalStructureFactory, grammaticalStructureFactory, grammaticalStructureFactory, isEvalBIgnoredPunctuationTag, isLabelAnnotationIntroducingCharacter, isPunctuationTag, isPunctuationWord, isSentenceFinalPunctuationTag, isStartSymbol, punctuationTagAcceptFilter, punctuationTagRejectFilter, punctuationWordAcceptFilter, punctuationWordRejectFilter, sentenceFinalPunctuationTagAcceptFilter, setGenerateOriginalDependencies, setGfCharacter, startSymbol, startSymbolAcceptFilter, stripGF, supportsGrammaticalStructures, treeTokenizerFactory
public java.lang.String[] punctuationTags()
punctuationTags
in interface TreebankLanguagePack
punctuationTags
in class AbstractTreebankLanguagePack
public java.lang.String[] punctuationWords()
punctuationWords
in interface TreebankLanguagePack
punctuationWords
in class AbstractTreebankLanguagePack
public java.lang.String[] sentenceFinalPunctuationTags()
sentenceFinalPunctuationTags
in interface TreebankLanguagePack
sentenceFinalPunctuationTags
in class AbstractTreebankLanguagePack
public java.lang.String[] sentenceFinalPunctuationWords()
sentenceFinalPunctuationWords
in interface TreebankLanguagePack
sentenceFinalPunctuationWords
in class AbstractTreebankLanguagePack
public java.lang.String[] evalBIgnoredPunctuationTags()
evalBIgnoredPunctuationTags
in interface TreebankLanguagePack
evalBIgnoredPunctuationTags
in class AbstractTreebankLanguagePack
public char[] labelAnnotationIntroducingCharacters()
labelAnnotationIntroducingCharacters
in interface TreebankLanguagePack
labelAnnotationIntroducingCharacters
in class AbstractTreebankLanguagePack
public java.lang.String[] startSymbols()
startSymbols
in interface TreebankLanguagePack
startSymbols
in class AbstractTreebankLanguagePack
public TokenizerFactory<? extends HasWord> getTokenizerFactory()
getTokenizerFactory
in interface TreebankLanguagePack
getTokenizerFactory
in class AbstractTreebankLanguagePack
public java.lang.String treebankFileExtension()
treebankFileExtension
in interface TreebankLanguagePack
treebankFileExtension
in class AbstractTreebankLanguagePack
public TreeReaderFactory treeReaderFactory()
AbstractTreebankLanguagePack
treeReaderFactory
in interface TreebankLanguagePack
treeReaderFactory
in class AbstractTreebankLanguagePack
public java.lang.String toString()
toString
in class java.lang.Object
public HeadFinder headFinder()
headFinder
in interface TreebankLanguagePack
headFinder
in class AbstractTreebankLanguagePack
public HeadFinder typedDependencyHeadFinder()
typedDependencyHeadFinder
in interface TreebankLanguagePack
typedDependencyHeadFinder
in class AbstractTreebankLanguagePack
public MorphoFeatureSpecification morphFeatureSpec()
AbstractTreebankLanguagePack
morphFeatureSpec
in interface TreebankLanguagePack
morphFeatureSpec
in class AbstractTreebankLanguagePack
public static void main(java.lang.String[] args)
args
-