Re: [tesseract-ocr] limiting tesseract to one language

2016-03-07 Thread Bojan Djuric
Done: https://github.com/tesseract-ocr/tessdata/issues/13.


On Sunday, March 6, 2016 at 5:45:20 PM UTC+1, zdenop wrote:
>
> Can you please make issue in tessdata part of project[1] and provide 
> (simple) test image?
>
> Thanks,
>
> [1] https://github.com/tesseract-ocr/tessdata/issues
>
> Zdenko
>
> On Sun, Mar 6, 2016 at 1:00 PM, Bojan Djuric  > wrote:
>
>> In language file spr_latn.tessdata (Serbian lating) there is a line 
>> tessedit_load_sublangs srp
>> which means that tesseract loads srp (Serbian Cyrillic) language file.
>>
>> As a result some of the text is recognized as cyrillic, even if the 
>> original text contains no cyrillic script at all!
>>
>> Can this option be disabled in any way, or new language files provided 
>> without the "load sublangs" part?
>>
>> (Older version of this language file did not have this line.)
>>
>> Thank you.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tesseract-oc...@googlegroups.com .
>> To post to this group, send email to tesser...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/f0b43596-ac01-47a5-bf1b-27cd0cf12b76%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/5c82f770-82bd-49e6-a5ba-36c51a07a138%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] limiting tesseract to one language

2016-03-06 Thread zdenko podobny
Can you please make issue in tessdata part of project[1] and provide
(simple) test image?

Thanks,

[1] https://github.com/tesseract-ocr/tessdata/issues

Zdenko

On Sun, Mar 6, 2016 at 1:00 PM, Bojan Djuric  wrote:

> In language file spr_latn.tessdata (Serbian lating) there is a line
> tessedit_load_sublangs srp
> which means that tesseract loads srp (Serbian Cyrillic) language file.
>
> As a result some of the text is recognized as cyrillic, even if the
> original text contains no cyrillic script at all!
>
> Can this option be disabled in any way, or new language files provided
> without the "load sublangs" part?
>
> (Older version of this language file did not have this line.)
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/f0b43596-ac01-47a5-bf1b-27cd0cf12b76%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xWHS9jNMy5hY-UuuWb6K-iySKHtBn8AcojTTwOGYh3cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] limiting tesseract to one language

2016-03-06 Thread Bojan Djuric
In language file spr_latn.tessdata (Serbian lating) there is a line 
tessedit_load_sublangs srp
which means that tesseract loads srp (Serbian Cyrillic) language file.

As a result some of the text is recognized as cyrillic, even if the 
original text contains no cyrillic script at all!

Can this option be disabled in any way, or new language files provided 
without the "load sublangs" part?

(Older version of this language file did not have this line.)

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/f0b43596-ac01-47a5-bf1b-27cd0cf12b76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.