se.lth.cs.nlp.nlputils.ml
Class FeatureExtractor<T>
java.lang.Object
  
se.lth.cs.nlp.nlputils.ml.FeatureExtractor<T>
public abstract class FeatureExtractor<T>
- extends Object
 
Abstract class that represents the mapping from an item to a list of
 feature values.
- Author:
 
  - Richard Johansson (richard@cs.lth.se)
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FEATURE_EXTRACTOR_OK
public static final int FEATURE_EXTRACTOR_OK
- See Also:
 - Constant Field Values
 
FEATURE_EXTRACTOR_FAILED
public static final int FEATURE_EXTRACTOR_FAILED
- See Also:
 - Constant Field Values
 
FeatureExtractor
public FeatureExtractor()
extractFeatures
public abstract int extractFeatures(T item,
                                    FeatureList list)
- Extracts features of an item to a FeatureList.
- Parameters:
 item - the item to classify.list - the feature list.
- Returns:
 - a status integer.