com.textrazor.annotations
Class NounPhrase

java.lang.Object
  extended by com.textrazor.annotations.Annotation
      extended by com.textrazor.annotations.NounPhrase

public class NounPhrase
extends Annotation


Constructor Summary
NounPhrase()
           
 
Method Summary
 int getId()
           
 java.util.List<java.lang.Integer> getWordPositions()
           
 java.util.List<Word> getWords()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NounPhrase

public NounPhrase()
Method Detail

getWords

public java.util.List<Word> getWords()
Returns:
A list of the Word objects in this phrase within their sentence.

getId

public int getId()

getWordPositions

public java.util.List<java.lang.Integer> getWordPositions()
Returns:
A list of the positions of the words in this phrase within their sentence.