Package org.languagetool.tagging.de
Class GermanTagger
java.lang.Object
org.languagetool.tagging.BaseTagger
org.languagetool.tagging.de.GermanTagger
- All Implemented Interfaces:
Tagger
- Direct Known Subclasses:
SwissGermanTagger
German part-of-speech tagger, requires data file in
de/german.dict in the classpath.
The POS tagset is described in
tagset.txt- Author:
- Marcin Milkowski, Daniel Naber
-
Field Summary
FieldsFields inherited from class org.languagetool.tagging.BaseTagger
locale, wordTagger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn only the first reading of the given word ornull.Methods inherited from class org.languagetool.tagging.BaseTagger
additionalTags, asAnalyzedToken, asAnalyzedTokenList, asAnalyzedTokenListForTaggedWords, createNullToken, createToken, getAnalyzedTokens, getDictionary, getDictionaryPath, getManualAdditionsFileNames, getManualRemovalsFileNames, getWordTagger, overwriteWithManualTagger
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
GermanTagger
public GermanTagger()
-
-
Method Details
-
lookup
Return only the first reading of the given word ornull.- Throws:
IOException
-
tag
-
tag
- Specified by:
tagin interfaceTagger- Overrides:
tagin classBaseTagger- Throws:
IOException
-
tag
public List<AnalyzedTokenReadings> tag(List<String> sentenceTokens, boolean ignoreCase) throws IOException - Throws:
IOException
-