You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Peter Kronenberg <pe...@torch.ai> on 2021/02/12 19:30:42 UTC
Language checking
Tim
Is there any particular reason you chose to do the Language validation at parse time, instead of when the TesseractOCRParser is initialized? Or when the language is set?
Peter Kronenberg | Senior AI Analytic ENGINEER
C: 703.887.5623
[Torch AI]<http://www.torch.ai/>
4303 W. 119th St., Leawood, KS 66209
WWW.TORCH.AI<http://www.torch.ai/>
Re: Language checking
Posted by Tim Allison <ta...@apache.org>.
>a) you can't do it when initialized because a user might choose something
at parse time
can't do it _once and for all_ at initialization...obv you can do it with
whatever the lang string is at initialization.
On Fri, Feb 12, 2021 at 5:25 PM Tim Allison <ta...@apache.org> wrote:
> See my response on the issue.
>
> a) you can't do it when initialized because a user might choose something
> at parse time
> b) you can't do it when the language is set on the config, because we're
> currently loading the langs in the parser
>
> On Fri, Feb 12, 2021 at 2:30 PM Peter Kronenberg <
> peter.kronenberg@torch.ai> wrote:
>
>> Tim
>>
>> Is there any particular reason you chose to do the Language validation
>> at parse time, instead of when the TesseractOCRParser is initialized? Or
>> when the language is set?
>>
>>
>>
>> *Peter Kronenberg* *| * *Senior AI Analytic ENGINEER *
>>
>> *C: 703.887.5623*
>>
>> [image: Torch AI] <http://www.torch.ai/>
>>
>> 4303 W. 119th St., Leawood, KS 66209
>> WWW.TORCH.AI <http://www.torch.ai/>
>>
>>
>>
>>
>>
>
Re: Language checking
Posted by Tim Allison <ta...@apache.org>.
See my response on the issue.
a) you can't do it when initialized because a user might choose something
at parse time
b) you can't do it when the language is set on the config, because we're
currently loading the langs in the parser
On Fri, Feb 12, 2021 at 2:30 PM Peter Kronenberg <pe...@torch.ai>
wrote:
> Tim
>
> Is there any particular reason you chose to do the Language validation
> at parse time, instead of when the TesseractOCRParser is initialized? Or
> when the language is set?
>
>
>
> *Peter Kronenberg* *| * *Senior AI Analytic ENGINEER *
>
> *C: 703.887.5623*
>
> [image: Torch AI] <http://www.torch.ai/>
>
> 4303 W. 119th St., Leawood, KS 66209
> WWW.TORCH.AI <http://www.torch.ai/>
>
>
>
>
>