public class NERTagSet extends TagSet
| 限定符和类型 | 字段和说明 |
|---|---|
char |
B_TAG_CHAR |
String |
B_TAG_PREFIX |
String |
E_TAG_PREFIX |
String |
M_TAG_PREFIX |
Set<String> |
nerLabels |
int |
O
非NER
|
String |
O_TAG |
char |
O_TAG_CHAR |
String |
S_TAG |
char |
S_TAG_CHAR |
| 构造器和说明 |
|---|
NERTagSet() |
NERTagSet(int o,
Collection<String> tags) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
load(ByteArray byteArray)
载入
|
static String |
posOf(String tag) |
add, allTags, bosId, contains, idOf, iterator, load, lock, save, size, sizeIncludingBos, stringOf, tagsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic final char O_TAG_CHAR
public final char B_TAG_CHAR
public final char S_TAG_CHAR
public final int O
public NERTagSet()
public NERTagSet(int o,
Collection<String> tags)
public boolean load(ByteArray byteArray)
ICacheAbleload 在接口中 ICacheAbleload 在类中 TagSetCopyright © 2014–2019 码农场. All rights reserved.