2 * Portions Copyright 2001 Sun Microsystems, Inc.
3 * Portions Copyright 1999-2001 Language Technologies Institute,
4 * Carnegie Mellon University.
5 * All Rights Reserved. Use is subject to license terms.
7 * See the file "license.terms" for information on usage and
8 * redistribution of this file, and for a DISCLAIMER OF ALL
11 package com.sun.speech.freetts;
14 * Determines the part of speech of a word.
16 public interface PartOfSpeech {
18 * Returns a description of the part of speech given a word.
19 * The string is implementation dependent.
21 * @param word the word to classify
23 * @return an implementation dependent part of speech for the word
25 public String getPartOfSpeech(String word);