lingscope.structures
Class AnnotatedSentence

java.lang.Object
  extended by lingscope.structures.AnnotatedSentence

public class AnnotatedSentence
extends java.lang.Object

Represents an AnnotatedSentence


Field Summary
static java.lang.String nonScopeTag
           
 
Constructor Summary
AnnotatedSentence()
          Initializes an AnnotatedSentence object
AnnotatedSentence(java.lang.String rawText)
          Creates an object of AnnotatedSentence with the given rawText
 
Method Summary
 java.util.List<java.lang.Boolean> getIsAnnotatedTags()
          Gets the is annotated tags for this AnnotatedSentence
 java.lang.String getRawText()
          Gets the raw text (with tags) for this AnnotatedSentence
 java.lang.String getSentenceText()
          Gets the sentence text (without the tags)
 java.util.List<java.lang.String> getTags()
          Gets the tags in this AnnotatedSentence
 java.util.List<java.lang.String> getWords()
          Gets the words in this AnnotatedSentence
 void processRawText(java.lang.String rawText)
          Processes the given raw text and extracts tags from it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nonScopeTag

public static java.lang.String nonScopeTag
Constructor Detail

AnnotatedSentence

public AnnotatedSentence()
Initializes an AnnotatedSentence object


AnnotatedSentence

public AnnotatedSentence(java.lang.String rawText)
Creates an object of AnnotatedSentence with the given rawText

Parameters:
rawText -
Method Detail

processRawText

public final void processRawText(java.lang.String rawText)
Processes the given raw text and extracts tags from it

Parameters:
rawText -

getIsAnnotatedTags

public java.util.List<java.lang.Boolean> getIsAnnotatedTags()
Gets the is annotated tags for this AnnotatedSentence

Returns:

getRawText

public java.lang.String getRawText()
Gets the raw text (with tags) for this AnnotatedSentence

Returns:

getTags

public java.util.List<java.lang.String> getTags()
Gets the tags in this AnnotatedSentence

Returns:

getWords

public java.util.List<java.lang.String> getWords()
Gets the words in this AnnotatedSentence

Returns:

getSentenceText

public java.lang.String getSentenceText()
Gets the sentence text (without the tags)

Returns: