| Mpaa added a comment. |
I copy it here for convenience.
Interesting, it looks like googleOCR answer is not deterministic or some bytes are lost somewhere.
FAIL: test_ocr_googleocr (tests.proofreadpage_tests.TestPageOCR)
Test page.ocr(ocr_tool='googleOCR').
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot/tests/proofreadpage_tests.py", line 395, in test_ocr_googleocr
self.assertEqual(text, ref_text)
AssertionError: u'ENTERED, according to Act of Congress, in the year 1572,\nB D. APPLETON &CO\nI [truncated]... != u'ENTERED, according to Act of Congress, in the year 1572,\nBY D. APPLETON & CO. [truncated]...
ENTERED, according to Act of Congress, in the year 1572,
- B D. APPLETON &CO
+ BY D. APPLETON & CO.
? + + +
In the Office of the Librarian of Congress, at Washington.
4 334TASK DETAIL
EMAIL PREFERENCES
To: Mpaa
Cc: Dvorapa, Framawiki, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Dvorapa, Framawiki, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
