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
 void setFileName()
          Set the filename in a JAR, eg.
 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
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CzechTagger

public CzechTagger()
Method Detail

setFileName

public void setFileName()
Description copied from class: BaseTagger
Set the filename in a JAR, eg. /resource/fr/french.dict.

Specified by:
setFileName 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 whithout whitespace tokens.
Throws:
IOException


Copyright © 2005-2007 Daniel Naber