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 * Performs a specific type of processing on an item and returns an
015 * object.   
016 */
017public interface FeatureProcessor {
018
019    /**
020     * Performs some processing on the given item.
021     * @param  item  the item to process
022     *
023     * @throws ProcessException if an exception occurred during the
024     *   processing
025     */
026    public String process(Item item) throws ProcessException;
027}
028