Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/tesseract/baseapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ class TESS_API TessBaseAPI {
int tessedit_page_number);
}; // class TessBaseAPI.

/** Escape a char string - remove &<>"' with HTML codes. */
/** Escape a char string - replace &<>"' with HTML codes. */
std::string HOcrEscape(const char *text);

} // namespace tesseract
Expand Down
2 changes: 1 addition & 1 deletion src/api/baseapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2374,7 +2374,7 @@ int TessBaseAPI::NumDawgs() const {
return tesseract_ == nullptr ? 0 : tesseract_->getDict().NumDawgs();
}

/** Escape a char string - remove <>&"' with HTML codes. */
/** Escape a char string - replace <>&"' with HTML codes. */
std::string HOcrEscape(const char *text) {
std::string ret;
const char *ptr;
Expand Down
2 changes: 1 addition & 1 deletion src/ccutil/unicharset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ bool UNICHARSET::major_right_to_left() const {
// Set a whitelist and/or blacklist of characters to recognize.
// An empty or nullptr whitelist enables everything (minus any blacklist).
// An empty or nullptr blacklist disables nothing.
// An empty or nullptr blacklist has no effect.
// An empty or nullptr unblacklist has no effect.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment in unicharset.h was already correct.

void UNICHARSET::set_black_and_whitelist(const char *blacklist,
const char *whitelist,
const char *unblacklist) {
Expand Down