Recognizes a single character and returns the list of results.
| 207 | |
| 208 | // Recognizes a single character and returns the list of results. |
| 209 | CharAltList *CubeObject::RecognizeChar() { |
| 210 | if (char_samp_ == NULL) return NULL; |
| 211 | CharAltList* alt_list = NULL; |
| 212 | CharClassifier *char_classifier = cntxt_->Classifier(); |
| 213 | ASSERT_HOST(char_classifier != NULL); |
| 214 | alt_list = char_classifier->Classify(char_samp_); |
| 215 | return alt_list; |
| 216 | } |
| 217 | |
| 218 | // Normalize the input word bitmap to have a minimum aspect ratio |
| 219 | bool CubeObject::Normalize() { |
no test coverage detected