public class IdylNLPAnnotation extends Object
| Constructor and Description |
|---|
IdylNLPAnnotation()
Creates a new annotation.
|
IdylNLPAnnotation(int lineNumber,
int tokenStart,
int tokenEnd,
String type)
Creates a new annotation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLineNumber() |
int |
getTokenEnd() |
int |
getTokenStart() |
String |
getType() |
void |
setLineNumber(int lineNumber) |
void |
setTokenEnd(int tokenEnd) |
void |
setTokenStart(int tokenStart) |
void |
setType(String type) |
String |
toString() |
public IdylNLPAnnotation(int lineNumber,
int tokenStart,
int tokenEnd,
String type)
lineNumber - The line number in the text that contains the entity.tokenStart - The token-based start position of the entity.tokenEnd - THe token-based end position of the entity.type - The type of entity.public IdylNLPAnnotation()
public int getTokenStart()
public void setTokenStart(int tokenStart)
public int getTokenEnd()
public void setTokenEnd(int tokenEnd)
public String getType()
public void setType(String type)
public int getLineNumber()
public void setLineNumber(int lineNumber)
Copyright © 2018. All rights reserved.