Skip to content

Commit

Permalink
Merge pull request #2286 from Shreeshrii/lstmbox
Browse files Browse the repository at this point in the history
Rename function to TessBaseAPIGetTsvText to be consistent to Create method
  • Loading branch information
zdenop authored Mar 10, 2019
2 parents 02a1ffe + a0202ba commit 5cfe4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ TESS_API char* TESS_CALL TessBaseAPIGetAltoText(TessBaseAPI* handle, int page_nu
return handle->GetAltoText(page_number);
}

TESS_API char* TESS_CALL TessBaseAPIGetTSVText(TessBaseAPI* handle, int page_number)
TESS_API char* TESS_CALL TessBaseAPIGetTsvText(TessBaseAPI* handle, int page_number)
{
return handle->GetTSVText(page_number);
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ TESS_API char* TESS_CALL TessBaseAPIGetUTF8Text(TessBaseAPI* handle);
TESS_API char* TESS_CALL TessBaseAPIGetHOCRText(TessBaseAPI* handle, int page_number);

TESS_API char* TESS_CALL TessBaseAPIGetAltoText(TessBaseAPI* handle, int page_number);
TESS_API char* TESS_CALL TessBaseAPIGetTSVText(TessBaseAPI* handle, int page_number);
TESS_API char* TESS_CALL TessBaseAPIGetTsvText(TessBaseAPI* handle, int page_number);

TESS_API char* TESS_CALL TessBaseAPIGetBoxText(TessBaseAPI* handle, int page_number);
TESS_API char* TESS_CALL TessBaseAPIGetLSTMBoxText(TessBaseAPI* handle, int page_number);
Expand Down

0 comments on commit 5cfe4cc

Please sign in to comment.