public class POSToken extends BasicToken
Token with Part of Speech Information
:
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected int |
posTag |
content, index, isSegmentStart, label| Constructor and Description |
|---|
POSToken(String content) |
POSToken(String content,
int label) |
| Modifier and Type | Method and Description |
|---|---|
BasicToken |
copy() |
int |
getPOSTag() |
void |
setPOSTag(int tag) |
getContent, getIndex, getLabel, isSegmentStart, setContent, setIndex, setLabel, setSegmentMarkerpublic POSToken(String content)
public POSToken(String content, int label)
public int getPOSTag()
public void setPOSTag(int tag)
public BasicToken copy()
copy in class BasicTokenCopyright © 2018 JULIE Lab, Germany. All rights reserved.