pt.uminho.anote2.process.IE.re
Class VerbInfo

java.lang.Object
  extended by pt.uminho.anote2.process.IE.re.VerbInfo
All Implemented Interfaces:
IVerbInfo

public class VerbInfo
extends java.lang.Object
implements IVerbInfo

Author:
Hugo Costa Objectivo : Guardar informa��o sobre os verbos

Constructor Summary
VerbInfo(long startOffset, long endOffset, java.lang.String verb, java.lang.String lemma, int polarity2)
           
VerbInfo(java.lang.String verb, java.lang.String lemma, java.lang.Integer polarity, VerbVoiceEnum voice, VerbTenseEnum tense, int directional, long startOffset, long endOffset)
           
 
Method Summary
 int getDirectionality()
           
 long getEndOffset()
           
 java.lang.String getLemma()
           
 int getPolarity()
           
 long getStartOffset()
           
 VerbTenseEnum getTense()
           
 java.lang.String getVerb()
           
 VerbVoiceEnum getVoice()
           
 void setDirectionality(int dir)
          0 - LeftToRight 1 - RightToLeft 2 - Unknown 3 - Both
 void setLemma(java.lang.String lemma)
           
 void setPolarity(int polarity)
          0 Negativa 1 Condicional 2 Positiva 3 Unknown
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerbInfo

public VerbInfo(java.lang.String verb,
                java.lang.String lemma,
                java.lang.Integer polarity,
                VerbVoiceEnum voice,
                VerbTenseEnum tense,
                int directional,
                long startOffset,
                long endOffset)

VerbInfo

public VerbInfo(long startOffset,
                long endOffset,
                java.lang.String verb,
                java.lang.String lemma,
                int polarity2)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDirectionality

public int getDirectionality()
Specified by:
getDirectionality in interface IVerbInfo

getEndOffset

public long getEndOffset()
Specified by:
getEndOffset in interface IVerbInfo

getPolarity

public int getPolarity()
Specified by:
getPolarity in interface IVerbInfo

getStartOffset

public long getStartOffset()
Specified by:
getStartOffset in interface IVerbInfo

setDirectionality

public void setDirectionality(int dir)
Description copied from interface: IVerbInfo
0 - LeftToRight 1 - RightToLeft 2 - Unknown 3 - Both

Specified by:
setDirectionality in interface IVerbInfo

setPolarity

public void setPolarity(int polarity)
Description copied from interface: IVerbInfo
0 Negativa 1 Condicional 2 Positiva 3 Unknown

Specified by:
setPolarity in interface IVerbInfo

getLemma

public java.lang.String getLemma()
Specified by:
getLemma in interface IVerbInfo

getTense

public VerbTenseEnum getTense()
Specified by:
getTense in interface IVerbInfo

getVerb

public java.lang.String getVerb()
Specified by:
getVerb in interface IVerbInfo

getVoice

public VerbVoiceEnum getVoice()
Specified by:
getVoice in interface IVerbInfo

setLemma

public void setLemma(java.lang.String lemma)
Specified by:
setLemma in interface IVerbInfo