/dports/audio/festival/festival/src/modules/Text/ |
H A D | token.cc | 113 words = word_it(t,t->name()); in FT_Any_Token_Utt() 150 words = word_it(t,t->name()); in FT_English_Token_Utt() 295 a = append(a,word_it(token,tok2)); in builtin_word_it() 301 word_it(token,tok.after("/")))); in builtin_word_it() 305 word_it(token,tok.after("&")))); in builtin_word_it() 309 word_it(token,tok.after("_")))); in builtin_word_it() 314 word_it(token,tok.after("`"))); in builtin_word_it() 317 word_it(token,tok.after("\""))); in builtin_word_it() 320 word_it(token,tok.after(","))); in builtin_word_it() 323 word_it(token,tok.after("("))); in builtin_word_it() [all …]
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/ |
H A D | fixspace.cpp | 219 WERD_RES_IT word_it(&words); in match_current_words() local 224 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in match_current_words() 225 word = word_it.data(); in match_current_words() 392 WERD_RES_IT word_it(&words); in transform_to_next_perm() local 403 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in transform_to_next_perm() 404 word = word_it.data(); in transform_to_next_perm() 420 for (; (prev_right == -INT16_MAX) || !word_it.at_first(); word_it.forward()) { in transform_to_next_perm() 421 word = word_it.data(); in transform_to_next_perm() 638 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in break_noisiest_blob_word() 843 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in fp_eval_word_spacing() [all …]
|
H A D | applybox.cpp | 82 WERD_IT word_it(row_it.data()->word_list()); in clear_any_old_text() local 83 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in clear_any_old_text() 84 word_it.data()->set_text(""); in clear_any_old_text()
|
H A D | control.cpp | 457 PAGE_RES_IT word_it(page_res); in bigram_correction_pass() local 460 WERD_RES *w = word_it.word(); in bigram_correction_pass() 463 while (word_it.forward() != nullptr && (!word_it.word() || word_it.word()->part_of_combo)) { in bigram_correction_pass() 466 if (!word_it.word()) { in bigram_correction_pass() 469 w = word_it.word(); in bigram_correction_pass() 2070 PAGE_RES_IT word_it(page_res); in classify_word_pass1() local 2071 for (WERD_RES *word = word_it.word(); word != nullptr; word = word_it.forward()) { in classify_word_pass1()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/textord/ |
H A D | tordmain.cpp | 489 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in clean_noise_from_row() 574 ok_words = word_it.length(); in clean_noise_from_words() 583 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in clean_noise_from_words() 646 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in clean_noise_from_words() 661 WERD_IT word_it(row->word_list()); in clean_small_noise_from_words() local 662 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in clean_small_noise_from_words() 663 WERD *word = word_it.data(); in clean_small_noise_from_words() 678 if (!word_it.at_last()) { in clean_small_noise_from_words() 686 delete word_it.extract(); in clean_small_noise_from_words() 878 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in tweak_row_baseline() [all …]
|
H A D | wordseg.cpp | 84 WERD_IT word_it(real_row->word_list()); in make_single_word() local 89 word_it.add_after_then_move(word); in make_single_word() 533 WERD_IT word_it = &row->rep_words; in make_rep_words() local 535 if (word_it.empty()) { in make_rep_words() 538 word_box = word_it.data()->bounding_box(); in make_rep_words() 539 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in make_rep_words() 540 word_box += word_it.data()->bounding_box(); in make_rep_words() 545 word_it.set_to_list(real_row->word_list()); in make_rep_words() 547 word_it.add_list_after(&row->rep_words); in make_rep_words()
|
H A D | fpchop.cpp | 37 uint8_t &blanks, float pitch, WERD_IT *word_it); 81 WERD_IT word_it = &words; // new words in fixed_pitch_words() local 173 word_it.add_after_then_move(word); in fixed_pitch_words() 184 &word_it); in fixed_pitch_words() 194 word_it.add_after_then_move(word); in fixed_pitch_words() 201 add_repeated_word(&rep_it, rep_left, prev_chop_coord, blanks, row->fixed_pitch, &word_it); in fixed_pitch_words() 204 word_it.data()->set_flag(W_EOL, true); in fixed_pitch_words() 211 word_it.set_to_list(real_row->word_list()); in fixed_pitch_words() 213 word_it.add_list_after(&words); in fixed_pitch_words() 230 WERD_IT *word_it // list of words in add_repeated_word() argument [all …]
|
H A D | tospace.cpp | 889 WERD_IT word_it(&words); in make_prop_words() local 899 word_it.add_after_then_move(word); in make_prop_words() 983 word_it.add_after_then_move(word); in make_prop_words() 999 word_it.add_after_then_move(word); in make_prop_words() 1064 word_it.add_after_then_move(word); in make_prop_words() 1097 word_it.set_to_list(real_row->word_list()); in make_prop_words() 1099 word_it.add_list_after(&words); in make_prop_words() 1134 WERD_IT word_it(&words); in make_blob_words() local 1162 word_it.add_after_then_move(word); in make_blob_words() 1175 word_it.set_to_list(real_row->word_list()); in make_blob_words() [all …]
|
H A D | topitch.cpp | 1692 WERD_IT word_it(&row->rep_words); in find_repeated_chars() local 1716 word_it.add_after_then_move(word); in find_repeated_chars()
|
/dports/graphics/tesseract/tesseract-5.0.0/unittest/ |
H A D | layout_test.cc | 163 MutableIterator word_it = *it; in VerifyTotalContainment() local 165 const PAGE_RES_IT *w_it = word_it.PageResIt(); in VerifyTotalContainment() 179 } while (word_it.Next(tesseract::RIL_WORD) && in VerifyTotalContainment() 180 !word_it.IsAtBeginningOf(tesseract::RIL_BLOCK)); in VerifyTotalContainment()
|
/dports/cad/cvc/cvc-1.1.0-4-gd172016/scripts/ |
H A D | expand_cells.py | 153 for word_it in myWordList: 155 if myParameterRE.match(word_it): 156 if not myPinRE.match(word_it): 167 myInstance = word_it # Last word before first parameter
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/sequence/ |
H A D | util.cpp | 352 ITERATE (TCounts, word_it, counts) { in x_Entropy() 353 entropy += x_Entropy(word_it->second); in x_Entropy()
|
/dports/audio/rhvoice/RHVoice-1.2.4/src/core/ |
H A D | language.cpp | 1154 for(item::const_iterator word_it=phr_it->begin();word_it!=phr_it->end();++word_it) in fuzz1() 1156 words.push_back(word_it->get("name").as<std::string>()); in fuzz1() 1165 for(relation::iterator word_it=word_rel.begin();word_it!=word_rel.end();++word_it) in fuzz1() 1167 if(word_it->get("name").as<std::string>()!=*qst_it) in fuzz1() 1177 word_it->set("gpos",*qst_it); in fuzz1()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/ |
H A D | pageres.cpp | 120 WERD_IT word_it(the_row->word_list()); in ROW_RES() local 134 for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) { in ROW_RES() 135 auto *word_res = new WERD_RES(word_it.data()); in ROW_RES() 148 WERD *next_word = word_it.data_relative(1); in ROW_RES() 172 *copy_word = *(word_it.data()); // deep copy in ROW_RES()
|