001/**
002 * Portions Copyright 2001 Sun Microsystems, Inc.
003 * Portions Copyright 1999-2001 Language Technologies Institute, 
004 * Carnegie Mellon University.
005 * All Rights Reserved.  Use is subject to license terms.
006 * 
007 * See the file "license.terms" for information on usage and
008 * redistribution of this file, and for a DISCLAIMER OF ALL 
009 * WARRANTIES.
010 */
011package com.sun.speech.freetts;
012
013/**
014 * Determines the part of speech of a word.
015 */
016public interface PartOfSpeech {
017    /**
018     * Returns a description of the part of speech given a word.
019     * The string is implementation dependent.
020     *
021     * @param word the word to classify
022     *
023     * @return an implementation dependent part of speech for the word
024     */
025    String getPartOfSpeech(String word);
026}
027
028