>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 <talli...@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.kronenb...@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/> >> >> >> >> >> >