de.fu_berlin.ties.classify.feature
Interface FeatureExtractor

All Known Implementing Classes:
AbstractRepresentation, DefaultRepresentation, FieldTokenizingExtractor, Representation, SimpleRepresentation, TokenizingExtractor

public interface FeatureExtractor

Feature extractors extract features from text sequences.

Classes implementing this interface should provide a public constructor that accepts a TiesConfiguration as first argument and a suffix string as second argument to allow reflection-based loading.

Version:
$Revision: 1.4 $, $Date: 2006/10/21 16:03:57 $, $Author: siefkes $
Author:
Christian Siefkes

Method Summary
 FeatureVector buildFeatures(Reader reader)
          Extracts a vector of relevant features from a text sequence.
 

Method Detail

buildFeatures

FeatureVector buildFeatures(Reader reader)
                            throws IOException,
                                   ProcessingException
Extracts a vector of relevant features from a text sequence.

Parameters:
reader - a reader containing the text to represent
Returns:
a feature vector representing the input text sequence
Throws:
IOException - if an I/O error occurs while reading the input
ProcessingException - if an error occurs while processing the input


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.