iitb.MaxentClassifier
Class FeatureGenRecord

java.lang.Object
  extended byiitb.MaxentClassifier.FeatureGenRecord
All Implemented Interfaces:
FeatureGenerator

public class FeatureGenRecord
extends java.lang.Object
implements FeatureGenerator

Author:
Sunita Sarawagi

Method Summary
 boolean hasNext()
           
 Feature next()
           
 int numFeatures()
          The number of features has to be correctly set before train is called.
 void startScanFeaturesAt(DataSequence data, int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

numFeatures

public int numFeatures()
Description copied from interface: FeatureGenerator
The number of features has to be correctly set before train is called.

Specified by:
numFeatures in interface FeatureGenerator

startScanFeaturesAt

public void startScanFeaturesAt(DataSequence data,
                                int pos)
Specified by:
startScanFeaturesAt in interface FeatureGenerator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface FeatureGenerator

next

public Feature next()
Specified by:
next in interface FeatureGenerator


Submit a bug or feature.