|
Textractor API textractor-720 (20091120123250) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttextractor.datamodel.annotation.AnnotatedTerm
public final class AnnotatedTerm
Created by IntelliJ IDEA. User: lshi Date: Apr 7, 2004 Time: 11:54:48 AM To change this template use File | Settings | File Templates.
| Constructor Summary | |
|---|---|
AnnotatedTerm()
|
|
| Method Summary | |
|---|---|
int |
getEndPosition()
Obtain the end position of the AnnotatedTerm to which this annotation refers to. |
int |
getStartPosition()
Obtain the start position of the AnnotatedTerm to which this annotation refers to. |
int |
getTermLength()
|
String |
getTermText()
|
void |
setStartPosition(int start)
Sets the position of the AnnotatedTerm to which this annotation refers to. |
void |
setText(String text,
int startPosition)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedTerm()
| Method Detail |
|---|
public void setText(String text,
int startPosition)
public String getTermText()
public void setStartPosition(int start)
start - Position of the AnnotatedTerm in the sentence
(assuming words are separated by spaces or newlines). Position 0 is the
first word of the sentence.public int getStartPosition()
public int getEndPosition()
public int getTermLength()
|
Textractor API textractor-720 (20091120123250) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||