public abstract class AbstractFeatureDictionary extends Object
Abstract class for feature dictionary
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected int |
allTotal |
protected int[][] |
cntsArray |
protected int[] |
cntsOverAllFeature |
protected int[] |
cntsOverAllState |
protected boolean |
finalized |
protected int |
stateNum |
| Constructor and Description |
|---|
AbstractFeatureDictionary(int stateNum) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount(int featureIndex) |
int |
getCount(int featureIndex,
int label) |
int |
getCount(Object feature) |
abstract int |
getIndex(Object feature) |
int |
getNextStateWithFeature(int index,
int prevLabel) |
int |
getStateCount(int state) |
int |
getStateNum() |
int |
getTotalCount() |
protected int stateNum
protected int[][] cntsArray
protected int[] cntsOverAllState
protected int[] cntsOverAllFeature
protected int allTotal
protected boolean finalized
public abstract int getIndex(Object feature)
public int getStateNum()
public int getCount(Object feature)
public int getCount(int featureIndex,
int label)
public int getCount(int featureIndex)
public int getStateCount(int state)
public int getTotalCount()
public int getNextStateWithFeature(int index,
int prevLabel)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.