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

Function LeadingUnicharsToChopped

deps/tesseract/ccmain/superscript.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "tesseractclass.h"
22
23static 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
30static int TrailingUnicharsToChopped(WERD_RES *word, int num_unichars) {
31 int num_chopped = 0;

Callers 2

YOutlierPiecesFunction · 0.85
SubAndSuperscriptFixMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected