taggers
Class Tagger

java.lang.Object
  |
  +--taggers.Tagger

public abstract class Tagger
extends java.lang.Object


Field Summary
protected static Tagger instance
           
 
Constructor Summary
Tagger()
           
 
Method Summary
static Tagger getInstance()
           
abstract  Language tag(java.lang.String phrase, java.util.Vector words, java.util.Vector tags, java.util.Vector lemmas)
          performs POS tagging of phrase and returns tags and lemmas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static Tagger instance
Constructor Detail

Tagger

public Tagger()
Method Detail

getInstance

public static Tagger getInstance()

tag

public abstract Language tag(java.lang.String phrase,
                             java.util.Vector words,
                             java.util.Vector tags,
                             java.util.Vector lemmas)
performs POS tagging of phrase and returns tags and lemmas.
Parameters:
tags, - the tags for the phrase
lemmas, - the lemmas for the phrase
Returns:
the language of the sentence; tags and lemmas are placed in the corresponding vectors