public class NERTagSet extends TagSet
| Modifier and Type | Field and Description |
|---|---|
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 |
| Constructor and Description |
|---|
NERTagSet() |
NERTagSet(int o,
Collection<String> tags) |
| Modifier and Type | Method and Description |
|---|---|
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 String O_TAG
public final char O_TAG_CHAR
public final String B_TAG_PREFIX
public final char B_TAG_CHAR
public final String M_TAG_PREFIX
public final String E_TAG_PREFIX
public final String S_TAG
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 in interface ICacheAbleload in class TagSetCopyright © 2014–2021 码农场. All rights reserved.