com.textrazor.annotations
Class Sentence

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

public class Sentence
extends Annotation


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

Constructor Detail

Sentence

public Sentence()
Method Detail

getPosition

public int getPosition()
Returns:
The position of this sentence in your text.

getWords

public java.util.List<Word> getWords()
Returns:
List of Word objects that are part of this sentence.