Home
last modified time | relevance | path

Searched refs:correct_text (Results 1 – 25 of 32) sorted by relevance

12

/dports/textproc/p5-HTML-FormatText-WithLinks/HTML-FormatText-WithLinks-0.15/t/
H A Dcustom_format.t15 my $correct_text = qq!This is a mail of some sort with a [1] link.
25 is($text, $correct_text, 'html correctly formatted');
33 $correct_text = qq!This is a mail of some sort with a [1] link.
38 is($text, $correct_text, 'html correctly formatted with no footnotes');
40 $correct_text = qq!This is a mail of some sort with a link[1].
56 is($text, $correct_text, 'html correctly formatted with after_link');
58 $correct_text = qq!This is a mail of some sort with a [0]link.
73 is($text, $correct_text, 'html correctly formatted with link_num_generator');
H A Dparse_with_identical_links.t13 my $correct_text = qq!This is a mail of some sort with a [1]link and yet another [1]link.
23 is($text, $correct_text, 'html correctly formatted');
27 $correct_text = qq!This is a mail of some sort with a [1]link and another [2]link and yet
42 is($text, $correct_text, 'more complex html correctly formatted');
44 $correct_text = qq!This is a mail of some sort with a link[1] and another link[2] and yet
59 is($text, $correct_text, 'after_link html correctly formatted');
64 $correct_text = qq!This is a mail of some sort with a [1]link and another [2]link and yet
78 is($text, $correct_text, 'more complex html with non unique links correctly formatted');
H A Dparse_a_with_no_href.t13 my $correct_text = qq!This is a mail of some sort with a link.
18 is($text, $correct_text, 'html with hrefless link correctly formatted');
27 is($text, $correct_text, 'html with hrefless link and base set correctly formatted');
H A Dparse_with_name.t13 my $correct_text = qq!This is a mail of some sort with a link.
18 is($text, $correct_text, 'html with name only link correctly formatted');
27 is($text, $correct_text, 'html with name only link and base set correctly formatted');
H A Dparse_with_base.t13 my $correct_text = qq!This is a mail of some sort with a [1]link.
33 is($text, $correct_text, 'html correctly formatted');
54 is($text3, $correct_text, 'html correctly formatted - doc overrides config');
H A Dparse_file.t12 my $correct_text = qq!This is a mail of some sort with a [1]link.
22 is($text, $correct_text, 'html correctly formatted');
H A Dparse_with_links.t13 my $correct_text = qq!This is a mail of some sort with a [1]link.
23 is($text, $correct_text, 'html correctly formatted');
H A Dparse_with_html_fragment.t13 my $correct_text = qq! This is a mail of some sort with a [1]link and some more text here.
21 is($text, $correct_text, 'html correctly formatted');
H A Dparse_with_relative_links.t14 my $correct_text = qq!This is a mail of some sort with a [1]link.
24 is($text, $correct_text, 'html correctly formatted');
H A Dparse_multiple_times.t14 my $correct_text = qq!This is a mail of some sort with a [1]link.
24 is($text, $correct_text, 'html correctly formatted');
H A Dparse_with_local_links.t13 my $correct_text = qq!This is a mail of some sort with a [1]link to a local anchor.
23 is($text, $correct_text, 'html correctly formatted');
H A Dskip_linked_urls.t17 my $correct_text = qq!This is a mail of some sort with a bunch of linked URLs.
32 is($text, $correct_text, 'html correctly formatted');
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dapplybox.cpp334 if (word_res->correct_text[i + blob_count].length() > 0) { in ResegmentCharBox()
367 word_res->correct_text[i] = correct_text; in ResegmentCharBox()
382 word_res->correct_text.erase(word_res->correct_text.begin() + i + 1); in ResegmentCharBox()
393 for (auto &it : word_res->correct_text) { in ResegmentCharBox()
415 const char *correct_text) { in ResegmentWordBox() argument
478 new_word->set_text(correct_text); in ResegmentWordBox()
594 word_res->correct_text.clear(); in FindSegmentation()
694 int blob_count = word_res->correct_text.size(); in TidyUp()
698 if (word_res->correct_text[c].length() > 0) { in TidyUp()
768 for (auto &correct_text : word_res->correct_text) { in CorrectClassifyWords() local
[all …]
/dports/devel/py-spyder/spyder-3.2.7/spyder/widgets/sourcecode/tests/
H A Dtest_autoindent.py110 correct_text = (" def foo(bar):\n"
115 assert text == correct_text, repr(text)
124 correct_text = (" for x in range(n):\n"
129 assert text == correct_text, repr(text)
/dports/devel/py-spyder/spyder-3.2.7/spyder/utils/
H A Dsourcecode.py70 correct_text = eol_chars.join((text+eol_chars).splitlines())
71 return repr(correct_text) != repr(text)
/dports/graphics/tesseract/tesseract-5.0.0/src/classify/
H A Dadaptmatch.cpp263 int word_len = word->correct_text.size(); in LearnWord()
300 tprintf("\nLearning %s\n", word->correct_text[ch].c_str()); in LearnWord()
302 if (word->correct_text[ch].length() > 0) { in LearnWord()
306 word->correct_text[ch].c_str(), word); in LearnWord()
325 std::vector<std::string> tokens = split(word->correct_text[ch], ' '); in LearnWord()
386 CharSegmentationType segmentation, const char *correct_text, in LearnPieces() argument
406 if (strcmp(classify_learn_debug_str.c_str(), correct_text) == 0) { in LearnPieces()
426 LearnBlob(fontname, rotated_blob, cn_denorm, fx_info, correct_text); in LearnPieces()
427 } else if (unicharset.contains_unichar(correct_text)) { in LearnPieces()
428 UNICHAR_ID class_id = unicharset.unichar_to_id(correct_text); in LearnPieces()
[all …]
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dpageres.cpp211 correct_text = source.correct_text; in operator =()
799 correct_text = word->correct_text; in ConsumeWordResults()
800 word->correct_text.clear(); in ConsumeWordResults()
871 correct_text.reserve(word_len); in CloneChoppedToRebuild()
874 correct_text.emplace_back(""); in CloneChoppedToRebuild()
957 correct_text.clear(); in BestChoiceToCorrectText()
962 correct_text.emplace_back(blob_choice); in BestChoiceToCorrectText()
1154 correct_text.clear(); in ClearResults()
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/tools/third_party/pytest/_pytest/assertion/
H A Dutil.py296 correct_text = head + tail
297 diff = _diff_text(correct_text, text, verbose)
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/pytest/_pytest/assertion/
H A Dutil.py326 correct_text = head + tail
327 diff = _diff_text(correct_text, text, verbose)
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/pytest/_pytest/assertion/
H A Dutil.py326 correct_text = head + tail
327 diff = _diff_text(correct_text, text, verbose)
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pytest/src/_pytest/assertion/
H A Dutil.py326 correct_text = head + tail
327 diff = _diff_text(correct_text, text, verbose)
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/tests/tools/third_party/pytest/src/_pytest/assertion/
H A Dutil.py326 correct_text = head + tail
327 diff = _diff_text(correct_text, text, verbose)
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/pytest/_pytest/assertion/
H A Dutil.py289 correct_text = head + tail
290 diff = _diff_text(correct_text, text, verbose)
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/tests/tools/pytest/_pytest/assertion/
H A Dutil.py320 correct_text = head + tail
321 diff = _diff_text(correct_text, text, verbose)
/dports/www/firefox-legacy/firefox-52.8.0esr/python/pytest/_pytest/assertion/
H A Dutil.py320 correct_text = head + tail
321 diff = _diff_text(correct_text, text, verbose)

12