public class MutableFeatureMap extends FeatureMap
| Modifier and Type | Field and Description |
|---|---|
Map<String,Integer> |
featureIdMap |
mutable, tagSet| Constructor and Description |
|---|
MutableFeatureMap(TagSet tagSet) |
MutableFeatureMap(TagSet tagSet,
Map<String,Integer> featureIdMap) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
allLabels() |
int |
bosTag() |
Set<Map.Entry<String,Integer>> |
entrySet() |
Set<String> |
featureSet() |
int |
idOf(String string) |
int |
size() |
load, loadTagSet, savepublic MutableFeatureMap(TagSet tagSet)
public Set<Map.Entry<String,Integer>> entrySet()
entrySet in class FeatureMappublic int idOf(String string)
public int size()
size in class FeatureMappublic int[] allLabels()
allLabels in class FeatureMappublic int bosTag()
bosTag in class FeatureMapCopyright © 2014–2021 码农场. All rights reserved.