Re: [tesseract-ocr] Why combine_lang_model need ommon.unicharset

159 views
Skip to first unread message

Shree Devi Kumar

unread,
Mar 12, 2019, 12:47:10 PM3/12/19
to tesser...@googlegroups.com
Your simple unicharset does not look right. You can make a list of characters needed in a file and create unicharset from it.

unicharset_extractor --output_unicharset cp.unicharset --norm_mode 1  cp.syllables.txt 

combine_lang_model \
--input_unicharset cp.unicharset \
--script_dir ~/langdata \
--output_dir ./ \
--lang cp-recoder

See attached zip file for generated traineddata with and without recoder option.


On Tue, Mar 12, 2019 at 9:59 PM 童虎 <huhu...@gmail.com> wrote:
I use this command follow by a post to create a xx.tessdata

combine_lang_model \
--input_unicharset cp.unicharset \
--script_dir /Users/th/source/langdata \
--output_dir output \
--pass_through_recoder \
--lang cp


but the shell output is 

Loaded unicharset of size 15 from file mh.unicharset
Setting unichar properties
Setting script properties
Failed to load script unicharset from:/Users/th/source/langdata/ommon.unicharset
Error writing unicharset!!



I can't understand why it look up ommon.unicharset instead of Common.unicharset

And my be I have other wrong?

--
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/7a201c4b-25c9-4817-85be-f01c29355a36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
cp.zip
Reply all
Reply to author
Forward
Message has been deleted
0 new messages