de.fu_berlin.ties.classify.feature
Class FeatureSet
java.lang.Object
de.fu_berlin.ties.classify.feature.FeatureVector
de.fu_berlin.ties.classify.feature.FeatureSet
public class FeatureSet
- extends FeatureVector
This feature vector implementation stores a set of features.
The order of features is not preserved and duplicates are discarded.
Instances of this class are not thread-safe and must be synchronized
externally, if required.
- Version:
- $Revision: 1.17 $, $Date: 2006/10/21 16:03:57 $, $Author: siefkes $
- Author:
- Christian Siefkes
Constructor Summary |
FeatureSet()
Creates a new instance. |
Methods inherited from class de.fu_berlin.ties.classify.feature.FeatureVector |
add, addAll, addAll, addAllTokens, flatten, flatten, getTransformed, iterator, lastTransformation, lastTransformation, setTransformed, size, toString |
FeatureSet
public FeatureSet()
- Creates a new instance.
store
protected Collection<Feature> store()
- Returns the collection used for storing the features. The properties
of a feature vector depend on the kind of collection that is used.
- Specified by:
store
in class FeatureVector
- Returns:
- the collection used for storing the features.
Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.