Package com.sun.speech.freetts.en
Class PartOfSpeechTagger
java.lang.Object
com.sun.speech.freetts.en.PartOfSpeechTagger
- All Implemented Interfaces:
UtteranceProcessor
Tags the words in the utterance with their part-of-speech.
Currently this does nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processUtterance
(Utterance utterance) Tags the utterance with part-of-speech information.toString()
Returns the string representation of the object
-
Constructor Details
-
PartOfSpeechTagger
public PartOfSpeechTagger()Constructs a PartOfSpeechTagger
-
-
Method Details
-
processUtterance
Tags the utterance with part-of-speech information. Currently this processor does nothing.- Specified by:
processUtterance
in interfaceUtteranceProcessor
- Parameters:
utterance
- the utterance to process/tokenize- Throws:
ProcessException
- if an error occurs while processing of the utterance
-
toString
Returns the string representation of the object
-