public class GermanTagger extends BaseTagger
de/german.dict in the classpath.
The POS tagset is described in
tagset.txtconversionLocale, wordTagger| Constructor and Description |
|---|
GermanTagger() |
| Modifier and Type | Method and Description |
|---|---|
String |
getManualAdditionsFileName() |
String |
getManualRemovalsFileName() |
AnalyzedTokenReadings |
lookup(String word)
Return only the first reading of the given word or
null. |
List<AnalyzedTokenReadings> |
tag(List<String> sentenceTokens) |
List<AnalyzedTokenReadings> |
tag(List<String> sentenceTokens,
boolean ignoreCase) |
additionalTags, asAnalyzedToken, asAnalyzedTokenList, asAnalyzedTokenListForTaggedWords, createNullToken, createToken, getAnalyzedTokens, getDictionary, getDictionaryPath, getWordTagger, overwriteWithManualTagger, tagpublic String getManualAdditionsFileName()
getManualAdditionsFileName in class BaseTaggerpublic String getManualRemovalsFileName()
getManualRemovalsFileName in class BaseTagger@Nullable public AnalyzedTokenReadings lookup(String word) throws IOException
null.IOExceptionpublic List<AnalyzedTokenReadings> tag(List<String> sentenceTokens) throws IOException
tag in interface Taggertag in class BaseTaggerIOExceptionpublic List<AnalyzedTokenReadings> tag(List<String> sentenceTokens, boolean ignoreCase) throws IOException
IOException