MCPcopy Create free account
hub / github.com/creatale/node-dv / TrailingUnicharsToChopped

Function TrailingUnicharsToChopped

deps/tesseract/ccmain/superscript.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static int TrailingUnicharsToChopped(WERD_RES *word, int num_unichars) {
31 int num_chopped = 0;
32 for (int i = 0; i < num_unichars; i++)
33 num_chopped += word->best_state[word->best_state.size() - 1 - i];
34 return num_chopped;
35}
36
37
38namespace tesseract {

Callers 1

SubAndSuperscriptFixMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected