Lines Matching refs:word_penalty
590 int word_penalty = 0;
599 if( pDoc->findMeta(std::string("word_penalty"),word_penalty_str))
600 word_penalty = atoi((const char *)word_penalty_str.c_str());
602 rc = ESR_SessionGetInt( L("CREC.Recognizer.wordpen"), &word_penalty);
604 word_penalty = DEFAULT_WB_COST;
606 pDoc->setMeta( std::string("word_penalty"), word_penalty_str) ;
607 cout << "using word_penalty " << word_penalty << endl;