From: Aleksander Ɓukasz Date: Wed, 20 Mar 2013 10:00:34 +0000 (+0100) Subject: Fixes #2491 - additional rules for basic text correction X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/abc338b9ab6cf47a0b70f8a3f2343bb7b2a5537b?ds=sidebyside;hp=9744e2fc590942aede8ad253360c13acdb6e233f Fixes #2491 - additional rules for basic text correction Handling some cases of "l"s and "o"s OCR'ed as ones and zeros. --- diff --git a/apps/toolbar/fixtures/initial_toolbar.yaml b/apps/toolbar/fixtures/initial_toolbar.yaml index c2fb84d5..522a1f04 100644 --- a/apps/toolbar/fixtures/initial_toolbar.yaml +++ b/apps/toolbar/fixtures/initial_toolbar.yaml @@ -119,7 +119,9 @@ "--- "]]}], ["lineregexp", {"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+", "$1"], ["\\s+(\")", "$1"], ["([^\\.])(\\s*)