[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ocrad] Re: Problems recognizing character integrity
From: |
Antonio Diaz Diaz |
Subject: |
[Bug-ocrad] Re: Problems recognizing character integrity |
Date: |
Tue, 17 Jul 2007 13:33:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Uwe,
Uwe Dippel wrote:
My excuses for running into another problem here:
Please, don't excuse yourself. Bug reports are important for the
improvement of a program, and your reports are among the most useful I
receive. Thanks.
To me, the 'm' of 'my' is very much a single, singular character.
I'm running 0.17 with the latest patch for 'J'.
Unfortunately, this 'm' is recognized as 'rn', without ambiguity:
I hope the following patch fixes the problem.
--- character_r11.cc~ 2007-06-29 14:29:13.000000000 +0200
+++ character_r11.cc 2007-07-17 12:54:32.000000000 +0200
@@ -201,6 +201,8 @@
f.lp.minima() == 2 && f.rp.minima() == 2 )
{ add_guess( '*', 0 ); return; }
if( b.id( b.vcenter(), b.hcenter() ) == 0 &&
+ b.id( b.vcenter() - 1, b.hcenter() ) == 0 &&
+ b.id( b.vcenter() + 1, b.hcenter() ) == 0 &&
b.seek_left( b.vcenter(), b.hcenter() ) <= b.hpos( 25 ) )
{ // Found merged 'rn'
int row = b.vpos( 95 );
Regards,
Antonio.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-ocrad] Re: Problems recognizing character integrity,
Antonio Diaz Diaz <=