Searched refs:NodeContinuation (Results 1 – 2 of 2) sorted by relevance
/dports/graphics/tesseract/tesseract-5.0.0/src/lstm/ |
H A D | recodebeam.h | 75 enum NodeContinuation { enum 256 static NodeContinuation ContinuationFromBeamsIndex(int index) { in ContinuationFromBeamsIndex() 257 return static_cast<NodeContinuation>((index / kNumLengths) % NC_COUNT); in ContinuationFromBeamsIndex() 263 static int BeamIndex(bool is_dawg, NodeContinuation cont, int length) { in BeamIndex() 352 float dict_ratio, bool use_dawgs, NodeContinuation cont, 356 void ContinueDawg(int code, int unichar_id, float cert, NodeContinuation cont, 361 bool end, float cert, NodeContinuation cont, const RecodeNode *prev, 368 NodeContinuation cont, const RecodeNode *prev, RecodeBeam *step);
|
H A D | recodebeam.cpp | 526 auto cont = static_cast<NodeContinuation>(c); in DebugBeams() 813 int index = BeamIndex(true, static_cast<NodeContinuation>(c), 0); in DecodeStep() 884 int index = BeamIndex(true, static_cast<NodeContinuation>(c), 0); in DecodeSecondaryStep() 906 NodeContinuation prev_cont = ContinuationFromBeamsIndex(index); in ContinueContext() 1022 bool use_dawgs, NodeContinuation cont, in ContinueUnichar() 1066 NodeContinuation cont, in ContinueDawg() 1152 NodeContinuation cont, in PushInitialDawgIfBetter() 1177 NodeContinuation cont, const RecodeNode *prev, RecodeBeam *step) { in PushDupOrNoDawgIfBetter() 1298 auto cont = static_cast<NodeContinuation>(c); in ExtractBestPaths()
|