de.danielnaber.languagetool.tagging.disambiguation.xx
Class DemoDisambiguator

Object
  extended by DemoDisambiguator
All Implemented Interfaces:
Disambiguator

public class DemoDisambiguator
extends Object
implements Disambiguator

Trivial disambiguator. Does nothing at all. Just copies input to output.

Author:
Jozef Licko

Constructor Summary
DemoDisambiguator()
           
 
Method Summary
 AnalyzedSentence disambiguate(AnalyzedSentence input)
          If possible, filters out the wrong POS tags.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoDisambiguator

public DemoDisambiguator()
Method Detail

disambiguate

public final AnalyzedSentence disambiguate(AnalyzedSentence input)
Description copied from interface: Disambiguator
If possible, filters out the wrong POS tags.

Specified by:
disambiguate in interface Disambiguator
Parameters:
input - The sentence with already tagged words. The words are expected to have multiple tags.
Returns:
Analyzed sentence, where each word has only one (possibly the most correct) tag.


Copyright © 2005-2007 Daniel Naber