On Monday, September 21, 2015 at 9:29:39 AM UTC-4, Stef wrote:
>
> I'm trying to use user wordlists with the bazaar config but it seems to 
> have no effect on the OCR result in my case. Therefore I printed the 
> current parameters to verify whether the user-words list is used. This 
> confirmed that the variables 
> load_system_dawg, load_freq_dawg, user_words_suffix and 
> user_patterns_suffix were set correctly (to 0, 0, user-words, and 
> user-patterns, respectively) but it doesn't show the user-provided 
> filenames:
> user_words_file        A filename of user-provided words.
> user_patterns_file        A filename of user-provided patterns.
> Is this just a bug/omission in the --print-parameters output or did 
> tesseract fail to load these files (tessereact 3.05.00dev)? 
>

Works for me.  What command line are you using?

$ tesseract --user-words foo --user-patterns bar --print-parameters | grep 
user_

Error: failed to load foo

Error opening pattern file bar

Error: failed to load bar

user_words_file foo A filename of user-provided words.

user_words_suffix A suffix of user-provided words located in tessdata.

user_patterns_file bar A filename of user-provided patterns.

user_patterns_suffix A suffix of user-provided patterns located in tessdata.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/ac687dc3-8608-4b66-802f-f933d7c71e3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to