sg.edu.nus.comp.nlp.ims.classifiers
Interface IModelTrainer

All Known Implementing Classes:
CGISModelTrainer, CLibLinearTrainer, CLibSVMTrainer, CWekaModelTrainer

public interface IModelTrainer

interface to train a model for a given lexelt.

Author:
zhongzhi

Method Summary
 void setOptions(java.lang.String[] p_Options)
          set options
 java.lang.Object train(java.lang.Object p_Lexelt)
          train a model with instances in p_Lexelt
 

Method Detail

train

java.lang.Object train(java.lang.Object p_Lexelt)
                       throws java.lang.Exception
train a model with instances in p_Lexelt

Parameters:
p_Lexelt - lexelt
Returns:
model
Throws:
java.lang.Exception - train exception

setOptions

void setOptions(java.lang.String[] p_Options)
set options

Parameters:
p_Options - options