jcolibri.extensions.textual.IE.representation.info
Class PhraseInfo
java.lang.Object
jcolibri.extensions.textual.IE.representation.info.PhraseInfo
public class PhraseInfo
- extends java.lang.Object
This class represents a feature. It's composed by:
- phrase: 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 |
PhraseInfo(java.lang.String phrase,
int begin,
int end)
Creates a phrase info object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PhraseInfo
public PhraseInfo(java.lang.String phrase,
int begin,
int end)
- Creates a phrase info 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.
getPhrase
public java.lang.String getPhrase()
- Returns:
- Returns the phrase.
setPhrase
public void setPhrase(java.lang.String phrase)
- Parameters:
phrase
- The phrase to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object