public class ModelImpl extends Model
| Constructor and Description |
|---|
ModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Tagger |
createTagger() |
DecoderFeatureIndex |
getFeatureIndex_() |
int |
getNbest_() |
String |
getTemplate() |
int |
getVlevel_() |
boolean |
open(InputStream stream,
int nbest,
int vlevel,
double costFactor) |
boolean |
open(String arg) |
boolean |
open(String[] args) |
boolean |
open(String model,
int nbest,
int vlevel,
double costFactor) |
void |
setFeatureIndex_(DecoderFeatureIndex featureIndex_) |
void |
setNbest_(int nbest_) |
void |
setVlevel_(int vlevel_) |
public Tagger createTagger()
createTagger in class Modelpublic boolean open(InputStream stream, int nbest, int vlevel, double costFactor)
public boolean open(String model, int nbest, int vlevel, double costFactor)
public String getTemplate()
public int getNbest_()
public void setNbest_(int nbest_)
public int getVlevel_()
public void setVlevel_(int vlevel_)
public DecoderFeatureIndex getFeatureIndex_()
public void setFeatureIndex_(DecoderFeatureIndex featureIndex_)
Copyright © 2014–2021 码农场. All rights reserved.