20 #ifndef HYBRID_NEURAL_NET_CLASSIFIER_H 21 #define HYBRID_NEURAL_NET_CLASSIFIER_H 66 vector<tesseract::NeuralNet *> nets_;
67 vector<float> net_wgts_;
74 virtual bool Init(
const string &data_file_path,
const string &
lang,
77 bool LoadNets(
const string &data_file_path,
const string &
lang);
81 virtual bool LoadFoldingSets(
const string &data_file_path,
90 #endif // HYBRID_NEURAL_NET_CLASSIFIER_H virtual int CharCost(CharSamp *char_samp)
virtual bool Train(CharSamp *char_samp, int ClassID)
virtual CharAltList * Classify(CharSamp *char_samp)
HybridNeuralNetCharClassifier(CharSet *char_set, TuningParams *params, FeatureBase *feat_extract)
void SetNet(tesseract::NeuralNet *net)
virtual ~HybridNeuralNetCharClassifier()
virtual bool SetLearnParam(char *var_name, float val)