Go to the source code of this file.
◆ make_pseudo_word()
Definition at line 31 of file werdit.cpp.
33 C_BLOB_LIST new_blobs;
34 C_BLOB_IT new_blob_it = &new_blobs;
36 for (
WERD_RES* word_res = pr_it.
word(); word_res != NULL;
37 word_res = pr_it.forward()) {
38 WERD* word = word_res->word;
41 for (blob_it.mark_cycle_pt();
42 !blob_it.cycled_list(); blob_it.forward()) {
43 C_BLOB* blob = blob_it.data();
48 if (!new_blobs.empty()) {
49 WERD* pseudo_word =
new WERD(&new_blobs, 1, NULL);
50 word_res = pr_it.InsertSimpleCloneWord(*word_res, pseudo_word);
bool overlap(const TBOX &box) const
TBOX bounding_box() const
static C_BLOB * deep_copy(const C_BLOB *src)
C_BLOB_LIST * cblob_list()
TBOX bounding_box() const