jcolibri.extensions.textual.IE.representation.info
Class FeatureInfo
java.lang.Object
jcolibri.extensions.textual.IE.representation.info.FeatureInfo
public class FeatureInfo
- extends java.lang.Object
This class represents a feature. It's composed by:
- feature: Feature name
- value: Feature value
- begin: begin position in the text
- end: end position in the text
First version developed at: Robert Gordon University - Aberdeen & Facultad Informática,
Universidad Complutense de Madrid (GAIA)
- Version:
- 2.0
- Author:
- Juan Antonio Recio García
Constructor Summary |
FeatureInfo(java.lang.String feature,
java.lang.String value,
int begin,
int end)
Creates a feature info object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FeatureInfo
public FeatureInfo(java.lang.String feature,
java.lang.String value,
int begin,
int end)
- Creates a feature info object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getBegin
public int getBegin()
- Returns:
- Returns the begin.
setBegin
public void setBegin(int begin)
- Parameters:
begin
- The begin to set.
getEnd
public int getEnd()
- Returns:
- Returns the end.
setEnd
public void setEnd(int end)
- Parameters:
end
- The end to set.
getFeature
public java.lang.String getFeature()
- Returns:
- Returns the feature.
setFeature
public void setFeature(java.lang.String feature)
- Parameters:
feature
- The feature to set.
getValue
public java.lang.String getValue()
- Returns:
- Returns the value.
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- The value to set.