On Tue, Mar 25, 2014 at 3:54 PM, temp name <[email protected]> wrote:

> Hello,
>
> I created a user-word file according to specification given on
> https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3.
> I created config file as
> load_system_dawg     F
> user_words_suffix    user-words
>
> When I run tesseract command on windows 7 :-  " tesseract inpname
> outputname -l eng configname " , I got following error
>
> Could not open file, C:\Program Files (x86)\Tesseract-OCR\
> *tessdata/eng.user-words.*
>
> In the error I noticed that path of user-words file is not correct.
> Tesseract added C:\Program Files (x86)\Tesseract-OCR\tessdata/ before the
> file name but *adding  \ before *the user-words file name is not correct
> since it is a windows machine.
>

"/" in path is correct on Windows. See the documentation[1] or do the test
(e.g. dir "C:/Program Files (x86)\Tesseract-OCR/tessdata/"
or
 tesseract inpname outputname -l abrakadabra
and then:
 tesseract inpname outputname -l eng
)

[1]
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

--
Zdenko

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to