public class DecoderFeatureIndex extends FeatureIndex
alpha_, alphaFloat_, bigramTempls_, BOS, checkMaxXsize_, costFactor_, EOS, max_xsize_, maxid_, nodeList_, pathList_, templs_, threadNum_, unigramTempls_, xsize_, y_| Constructor and Description |
|---|
DecoderFeatureIndex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
convert(String binarymodel,
String textmodel) |
int |
getID(String key) |
static void |
main(String[] args) |
boolean |
open(InputStream stream) |
boolean |
openTextModel(String filename1,
boolean cacheBinModel) |
applyRule, buildFeatures, calcCost, calcCost, clear, getAlpha_, getAlphaFloat_, getBigramTempls_, getCostFactor_, getIndex, getMax_xsize_, getMaxid_, getNodeList_, getPathList_, getTemplate, getThreadNum_, getUnigramTempls_, getXsize_, getY_, makeTempls, open, rebuildFeatures, setAlpha_, setAlphaFloat_, setBigramTempls_, setCostFactor_, setMax_xsize_, setMaxid_, setNodeList_, setPathList_, setThreadNum_, setUnigramTempls_, setXsize_, setY_, size, ysizepublic int getID(String key)
getID in class FeatureIndexpublic boolean open(InputStream stream)
open in class FeatureIndexpublic boolean openTextModel(String filename1, boolean cacheBinModel)
public static void main(String[] args)
Copyright © 2014–2021 码农场. All rights reserved.