de.danielnaber.languagetool.tagging.cs
Class CzechTagger

Object
  extended by BaseTagger
      extended by CzechTagger
All Implemented Interfaces:
Tagger

public class CzechTagger
extends BaseTagger

Czech POS tagger based on FSA morphological dictionaries.

Author:
Jozef Licko

Constructor Summary
CzechTagger()
           
 
Method Summary
 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).
 
Methods inherited from class BaseTagger
createNullToken, createToken, setLocale
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CzechTagger

public CzechTagger()
Method Detail

getFileName

public final String getFileName()
Description copied from class: BaseTagger
Get the filename, e.g., /resource/fr/french.dict.

Specified by:
getFileName in class BaseTagger

tag

public final List<AnalyzedTokenReadings> tag(List<String> sentenceTokens)
                                      throws IOException
Description copied from interface: Tagger
Returns a list of AnalyzedTokens 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.

Specified by:
tag in interface Tagger
Overrides:
tag in class BaseTagger
Parameters:
sentenceTokens - the text as returned by a WordTokenizer but without whitespace tokens.
Throws:
IOException


Copyright © 2005-2009 Daniel Naber