public class FeatureDictionaryChar extends AbstractFeatureDictionary implements FeatureDictionary
Character based feature dictionary
Copyright: Copyright (c) 2005
Company: IST, Drexel University
allTotal, cntsArray, cntsOverAllFeature, cntsOverAllState, finalized, stateNum| Constructor and Description |
|---|
FeatureDictionaryChar(int stateNum,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
addFeature(Object feature,
int label) |
boolean |
contain(Object feature) |
void |
finalize() |
int |
getIndex(Object feature) |
int |
getStateNum() |
boolean |
read(String filename) |
int |
size() |
boolean |
write(String filename) |
getCount, getCount, getCount, getNextStateWithFeature, getStateCount, getTotalCountclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCount, getCount, getCount, getNextStateWithFeature, getStateCount, getTotalCountpublic int getIndex(Object feature)
getIndex in interface FeatureDictionarygetIndex in class AbstractFeatureDictionarypublic int getStateNum()
getStateNum in interface FeatureDictionarygetStateNum in class AbstractFeatureDictionarypublic boolean contain(Object feature)
contain in interface FeatureDictionarypublic int size()
size in interface FeatureDictionarypublic int addFeature(Object feature, int label)
addFeature in interface FeatureDictionarypublic void finalize()
finalize in interface FeatureDictionaryfinalize in class Objectpublic boolean read(String filename)
read in interface FeatureDictionarypublic boolean write(String filename)
write in interface FeatureDictionaryCopyright © 2018 JULIE Lab, Germany. All rights reserved.