一 怎么把一些常用参数放到.config文件中:
步骤:创建chi_sim.config文件,然后把参数放进去,一行一行放置,最后运行combine_tessdata.exe命令,可以将这些参数永久包含在.traineddata里面,下面是参考文章:
chop_enable
use_new_state_cost
segment_segcost_rating
enable_new_segsearch
language_model_ngram_on
textord_force_make_prop_words
> Could you tell me how to use these parameters? please give me a command example
> I just use the .exe files to train my chinese language .
To include the parameters in the training file, create a file called
> I just use the .exe files to train my chinese language .
xxx.config (where xxx is the language code you're using) and put the
parameters you need into it, one per line, as in the email you're
interested in. Then when you run combine_tessdata it will be included
as part of the .traineddata file.
If you just want to use a config file with a training that has
already been built, you can follow the instructions in the
manpage[0].
Hope this helps.
Nick
0. http://tesseract-ocr.