From MAILER-DAEMON Fri May 06 09:20:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ayfgb-0005cD-US for mharc-bug-ocrad@gnu.org; Fri, 06 May 2016 09:20:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aya42-00071l-Qs for bug-ocrad@gnu.org; Fri, 06 May 2016 03:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aya3r-0006dM-7k for bug-ocrad@gnu.org; Fri, 06 May 2016 03:20:37 -0400 Received: from mx.pacificloud.nc ([202.171.68.101]:42076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aya3q-0006XE-Re for bug-ocrad@gnu.org; Fri, 06 May 2016 03:20:31 -0400 Received: from [10.100.1.197] (helo=mx.pacificloud.nc) by mx.pacificloud.nc stage1 with esmtp (Exim MailCleaner) id 1aya30-0006BI-M2 for from ; Fri, 06 May 2016 18:19:38 +1100 Received: from SRV-EX13-8.pacificloud.local (10.100.1.192) by SRV-EX13-7.pacificloud.local (10.100.1.197) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Fri, 6 May 2016 18:18:45 +1100 From: Bertrand Durand To: "bug-ocrad@gnu.org" Thread-Topic: Mask recognition Thread-Index: AQHRp2eFncUMx4/4706Zl0NbAzFd3g== Date: Fri, 6 May 2016 07:18:43 +0000 Message-ID: <6303545d242f48be9f9e89ae166d1c9f@SRV-EX13-7.pacificloud.local> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.100.1.8] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MailCleaner-RDNS: invalid reverse DNS for 10.100.1.197 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 202.171.68.101 X-Mailman-Approved-At: Fri, 06 May 2016 09:20:52 -0400 Subject: [Bug-ocrad] Mask recognition X-BeenThere: bug-ocrad@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Bug reports for ocrad, the GNU OCR program." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 07:20:49 -0000 Hi all,=0A= =0A= I'm using Ocrad on a special field, I wonder if I could oblige Ocrad to=0A= get the text like IM99999/9 (with '9' for numbers) and only this ?=0A= =0A= thanks a lot=0A= =0A= Bertrand=0A= From MAILER-DAEMON Fri May 06 12:14:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ayiP0-0008Av-8x for mharc-bug-ocrad@gnu.org; Fri, 06 May 2016 12:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayiOs-0007wU-0F for bug-ocrad@gnu.org; Fri, 06 May 2016 12:14:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayiOf-00030V-Io for bug-ocrad@gnu.org; Fri, 06 May 2016 12:14:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayiOH-0002t6-H0; Fri, 06 May 2016 12:14:09 -0400 Received: from 169.red-217-124-67.dialup.dynamic.ccgg.telefonica.net ([217.124.67.169]:44848) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1ayiOB-0001ZB-1T; Fri, 06 May 2016 12:14:03 -0400 Message-ID: <572CC336.5050702@gnu.org> Date: Fri, 06 May 2016 18:15:50 +0200 From: Antonio Diaz Diaz User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 MIME-Version: 1.0 To: Bertrand Durand CC: "bug-ocrad@gnu.org" References: <6303545d242f48be9f9e89ae166d1c9f@SRV-EX13-7.pacificloud.local> In-Reply-To: <6303545d242f48be9f9e89ae166d1c9f@SRV-EX13-7.pacificloud.local> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Subject: Re: [Bug-ocrad] Mask recognition X-BeenThere: bug-ocrad@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Bug reports for ocrad, the GNU OCR program." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 16:14:52 -0000 Hello, Bertrand Durand wrote: > I'm using Ocrad on a special field, I wonder if I could oblige Ocrad to > get the text like IM99999/9 (with '9' for numbers) and only this ? You may write an user-defined filter[1] like the example in the manual, just adding 'I', 'M' and '/', but there is no way to instruct ocrad about the format you expect. Additional text filtering may be needed to remove extra characters, for example. [1] http://www.gnu.org/software/ocrad/manual/ocrad_manual.html#Filters Best regards, Antonio.