public abstract class FeatureMap extends Object implements IStringIdMap, ICacheAble
| Constructor and Description |
|---|
FeatureMap() |
FeatureMap(boolean mutable) |
FeatureMap(TagSet tagSet) |
FeatureMap(TagSet tagSet,
boolean mutable) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
allLabels() |
int |
bosTag() |
abstract Set<Map.Entry<String,Integer>> |
entrySet() |
boolean |
load(ByteArray byteArray)
载入
|
protected void |
loadTagSet(ByteArray byteArray) |
void |
save(DataOutputStream out)
写入
|
abstract int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidOfpublic TagSet tagSet
public boolean mutable
public FeatureMap(TagSet tagSet)
public FeatureMap(TagSet tagSet, boolean mutable)
public FeatureMap(boolean mutable)
public FeatureMap()
public abstract int size()
public int[] allLabels()
public int bosTag()
public void save(DataOutputStream out) throws IOException
ICacheAblesave in interface ICacheAbleIOExceptionpublic boolean load(ByteArray byteArray)
ICacheAbleload in interface ICacheAbleprotected final void loadTagSet(ByteArray byteArray)
Copyright © 2014–2021 码农场. All rights reserved.