public class RomanianTagger extends BaseTagger
| Constructor and Description |
|---|
RomanianTagger() |
RomanianTagger(String dictFileName,
String userDictFileName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Get the filename, e.g., /resource/fr/french.dict.
|
List<AnalyzedTokenReadings> |
tag(List<String> sentenceTokens)
Returns a list of
AnalyzedTokens that assigns each term in the
sentence some kind of part-of-speech information (not necessarily just one tag). |
createNullToken, createToken, setLocalepublic RomanianTagger()
public RomanianTagger(String dictFileName,
String userDictFileName)
public final String getFileName()
BaseTaggergetFileName in class BaseTaggerpublic final List<AnalyzedTokenReadings> tag(List<String> sentenceTokens) throws IOException
TaggerAnalyzedTokens that assigns each term in the
sentence some kind of part-of-speech information (not necessarily just one tag).
Note that this method takes exactly one sentence. Its implementation may implement special cases for the first word of a sentence, which is usually written with an uppercase letter.
tag in interface Taggertag in class BaseTaggersentenceTokens - the text as returned by a WordTokenizerIOExceptionCopyright © 2005-2011 Daniel Naber