Can't symlink into tessdata anymore?

62 views
Skip to first unread message

John Muccigrosso

unread,
Jul 26, 2018, 2:49:22 PM7/26/18
to tesseract-ocr
Relevant earlier discussion here.

I install tesseract via Homebrew and have been symlinking tessdata into the appropriate directory. When I did this this morning, I got complaints from tesseract that the language files were not there:

Error: failed to load /usr/local/Cellar/tesseract/3.05.02/share/tessdata/ita.special-words

if I try "-l ita". This problem goes away when I copy the relevant files instead of symlinking them.

This seems like a bug to me.

Zdenko Podobny

unread,
Jul 27, 2018, 2:25:03 AM7/27/18
to tesser...@googlegroups.com
symlink is filesystem feature and tesseract use standard C++ function for reading/writing files from filesystem, so there is no reason why there would be bug in tesseract.

But it seems that you do something non standard because ita.special-words is not file that would tesseract open if you just specified  "-l ita".

Zdenko


št 26. 7. 2018 o 20:49 John Muccigrosso <jmuc...@gmail.com> napísal(a):
--
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/a4abd081-76f9-4c96-bab8-713bbd5615bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shree Devi Kumar

unread,
Jul 27, 2018, 3:27:55 AM7/27/18
to tesser...@googlegroups.com, zdenko podobny


For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Zdenko Podobny

unread,
Jul 27, 2018, 3:05:20 PM7/27/18
to Shree Devi Kumar, tesser...@googlegroups.com
If I got it right, that confirm that there is no problem/but related to symlink, but outdated itatraineddata.
Right?

Zdenko


pi 27. 7. 2018 o 9:27 Shree Devi Kumar <shree...@gmail.com> napísal(a):

John Muccigrosso

unread,
Jul 28, 2018, 7:24:21 PM7/28/18
to tesseract-ocr
Sorry, my bad here. I pasted the wrong error. (I'm on that issue, so I'm well aware of that problem.)

I was having a problem doing the symlinking, but it's working now, so I must have done something else wrong. Apologies.
Reply all
Reply to author
Forward
0 new messages