edu.indiana.iucbrf.feature
Class TermVectorFeature
java.lang.Object
edu.indiana.iucbrf.feature.AbstractFeature
edu.indiana.iucbrf.feature.TermVectorFeature
- All Implemented Interfaces:
- Feature, SwingRepresentable, java.io.Serializable, java.lang.Comparable
public class TermVectorFeature
- extends AbstractFeature
A Feature with a value that is a TermVector.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_FEATURE_DIFFERENTIATOR
public static final FeatureDifferentiator DEFAULT_FEATURE_DIFFERENTIATOR
DEFAULT_VARIABLE_TYPE
public static final int DEFAULT_VARIABLE_TYPE
- See Also:
- Constant Field Values
STANDARD_CONSTRUCTOR
public static final transient java.lang.reflect.Constructor STANDARD_CONSTRUCTOR
TermVectorFeature
protected TermVectorFeature()
TermVectorFeature
public TermVectorFeature(Distribution distribution)
TermVectorFeature
public TermVectorFeature(iglu.ir.TermVector tv)
- Creates a new instance of TermVectorFeature
getDefaultVariableType
public int getDefaultVariableType()
- Description copied from interface:
Feature
- Get the variable type (for example, Feature.NOMINAL_VARIABLE, Feature.ORDINAL_VARIABLE,
Feature.INTERVAL_VARIABLE, or Feature.OTHER_VARIABLE).
getFeatureInputPanel
public static FeatureInputPanel getFeatureInputPanel(int collectionType,
Domain domain,
FeatureKey featureKey,
boolean allowUnknowns)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Feature
- Specified by:
clone
in class AbstractFeature
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractFeature
midpoint
public Feature midpoint(Feature other_feature)
- Specified by:
midpoint
in interface Feature
- Specified by:
midpoint
in class AbstractFeature
setValue
public void setValue(java.lang.Object new_value)