| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected int |
index |
protected boolean |
isSegmentStart |
protected int |
label |
| Constructor and Description |
|---|
BasicToken(String content) |
BasicToken(String content,
int label) |
| Modifier and Type | Method and Description |
|---|---|
BasicToken |
copy() |
String |
getContent() |
int |
getIndex() |
int |
getLabel() |
boolean |
isSegmentStart() |
void |
setContent(String content) |
void |
setIndex(int index) |
void |
setLabel(int label) |
void |
setSegmentMarker(boolean isSegmentStart) |
protected String content
protected int label
protected int index
protected boolean isSegmentStart
public BasicToken(String content)
public BasicToken(String content, int label)
public BasicToken copy()
public String getContent()
public void setContent(String content)
public int getLabel()
public void setLabel(int label)
public int getIndex()
public void setIndex(int index)
public boolean isSegmentStart()
public void setSegmentMarker(boolean isSegmentStart)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.