iitb.CRF
Interface FeatureGenerator

All Known Subinterfaces:
FeatureGeneratorNested
All Known Implementing Classes:
FeatureGenImpl, FeatureGenRecord

public interface FeatureGenerator

The basic interface to be implemented by the user of this package for providing features of an individual data sequence.

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)
           
 

Method Detail

numFeatures

public int numFeatures()
The number of features has to be correctly set before train is called.


startScanFeaturesAt

public void startScanFeaturesAt(DataSequence data,
                                int pos)

hasNext

public boolean hasNext()

next

public Feature next()


Submit a bug or feature.