jcolibri.extensions.textual.IE.representation.info
Class PhraseInfo

java.lang.Object
  extended by jcolibri.extensions.textual.IE.representation.info.PhraseInfo

public class PhraseInfo
extends java.lang.Object

This class represents a feature. It's composed by:

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
 
Method Summary
 int getBegin()
           
 int getEnd()
           
 java.lang.String getPhrase()
           
 void setBegin(int begin)
           
 void setEnd(int end)
           
 void setPhrase(java.lang.String phrase)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhraseInfo

public PhraseInfo(java.lang.String phrase,
                  int begin,
                  int end)
Creates a phrase info object

Method Detail

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

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es