Skip to content

Commit

Permalink
update docs for TessBaseAPI::SetProbabilityInContextFunc based on Ray…
Browse files Browse the repository at this point in the history
…'s email today
  • Loading branch information
jimregan committed Sep 9, 2014
1 parent 541e06c commit c0c7193
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/baseapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,10 @@ void TessBaseAPI::SetDictFunc(DictFunc f) {
/**
* Sets Dict::probability_in_context_ function to point to the given
* function.
*
* @param f A single function that returns the probability of the current
* "character" (in general a utf-8 string), given the context of a previous
* utf-8 string.
*/
void TessBaseAPI::SetProbabilityInContextFunc(ProbabilityInContextFunc f) {
if (tesseract_ != NULL) {
Expand Down

0 comments on commit c0c7193

Please sign in to comment.