You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to replicate this. Presumably there is some file missing from the default ita.traineddata file that exists for other languages. Luckily, it looks like this does not actually impact recognition, as everything appeared to work as normal warning message notwithstanding.
As Tesseract.js uses the same default .traineddata as the main Tesseract project (albeit possibly out of date), this is only actionable if that project has updated ita.traineddata to resolve this issue. I can look into this at some point when I have more time. In the meantime, users who want to use an alternative .traineddata file can do so by setting langPath.
I'm using https://cdn.jsdelivr.net/npm/tesseract.js@5/dist/tesseract.min.js
If you create an italian worker:
const worker = await Tesseract.createWorker("ita");
You'll see this error in the console
failed to load ./ita.special-words
It's located at
tesseract-core-simd-lstm.wasm.js:31
Cheers
The text was updated successfully, but these errors were encountered: