20 #ifndef TESSERACT_WORDREC_PARAMS_MODEL_H_ 
   21 #define TESSERACT_WORDREC_PARAMS_MODEL_H_ 
   67     return weights_vec_[pass_];
 
   70     return weights_vec_[pass];
 
   75   bool ParseLine(
char *line, 
char **key, 
float *val);
 
   88 #endif  // TESSERACT_WORDREC_PARAMS_MODEL_H_ 
bool LoadFromFp(const char *lang, FILE *fp, inT64 end_offset)
 
float ComputeCost(const float features[]) const 
 
ParamsModel(const char *lang, const GenericVector< float > &weights)
 
bool Equivalent(const ParamsModel &that) const 
 
void Copy(const ParamsModel &other_model)
 
bool SaveToFile(const char *full_path) const 
 
const GenericVector< float > & weights_for_pass(PassEnum pass) const 
 
bool LoadFromFile(const char *lang, const char *full_path)
 
void SetPass(PassEnum pass)
 
const GenericVector< float > & weights() const