UtteranceProcessor
public class PartOfSpeechTagger extends java.lang.Object implements UtteranceProcessor
Constructor | Description |
---|---|
PartOfSpeechTagger() |
Constructs a PartOfSpeechTagger
|
Modifier and Type | Method | Description |
---|---|---|
void |
processUtterance(Utterance utterance) |
Tags the utterance with part-of-speech information.
|
java.lang.String |
toString() |
Returns the string representation of the object
|
public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to process/tokenizeProcessException
- if an error occurs while
processing of the utterancepublic java.lang.String toString()
toString
in class java.lang.Object