| 21 | #include "tesseractclass.h" |
| 22 | |
| 23 | static int LeadingUnicharsToChopped(WERD_RES *word, int num_unichars) { |
| 24 | int num_chopped = 0; |
| 25 | for (int i = 0; i < num_unichars; i++) |
| 26 | num_chopped += word->best_state[i]; |
| 27 | return num_chopped; |
| 28 | } |
| 29 | |
| 30 | static int TrailingUnicharsToChopped(WERD_RES *word, int num_unichars) { |
| 31 | int num_chopped = 0; |
no outgoing calls
no test coverage detected