com.textrazor.annotations
Class Property

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

public class Property
extends Annotation


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

Constructor Detail

Property

public Property()
Method Detail

getWordPositions

public java.util.List<java.lang.Integer> getWordPositions()
Returns:
a list of the positions of the words in the predicate (or focus) of this property.

getPredicateWords

public java.util.List<Word> getPredicateWords()
Returns:
a list of the Word in the predicate (or focus) of this property.

getId

public int getId()
Returns:
The ID of this annotation.

getPropertyPositions

public java.util.List<java.lang.Integer> getPropertyPositions()
Returns:
a list of the word positions that make up the modifier of the predicate of this property.

getPropertyWords

public java.util.List<Word> getPropertyWords()
Returns:
a list of the Word objects that make up the modifier of the predicate of this property.