com.sun.speech.freetts.cart
Interface CART

All Known Implementing Classes:
CARTImpl

public interface CART

Generic interface for Classification and Regression Trees (CARTs) based on the Breiman, Friedman, Olshen, and Stone document "Classification and Regression Trees." Wadsworth, Belmont, CA, 1984.


Method Summary
 void dumpBinary(java.io.DataOutputStream os)
          Dumps this CART to the output stream.
 java.lang.Object interpret(Item item)
          Passes the given item through this CART and returns the interpretation.
 

Method Detail

interpret

public java.lang.Object interpret(Item item)
Passes the given item through this CART and returns the interpretation.

Parameters:
item - the item to analyze
Returns:
the interpretation

dumpBinary

public void dumpBinary(java.io.DataOutputStream os)
                throws java.io.IOException
Dumps this CART to the output stream.

Parameters:
os - the output stream
Throws:
java.io.IOException - if an error occurs during output