|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lingscope.structures.AnnotatedSentence
public class AnnotatedSentence
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 |
---|
public static java.lang.String nonScopeTag
Constructor Detail |
---|
public AnnotatedSentence()
public AnnotatedSentence(java.lang.String rawText)
rawText
- Method Detail |
---|
public final void processRawText(java.lang.String rawText)
rawText
- public java.util.List<java.lang.Boolean> getIsAnnotatedTags()
public java.lang.String getRawText()
public java.util.List<java.lang.String> getTags()
public java.util.List<java.lang.String> getWords()
public java.lang.String getSentenceText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |