langdata
langdata copied to clipboard
Issue 1392: Vietnamese dictionaries
https://code.google.com/p/tesseract-ocr/issues/detail?id=1392
What steps will reproduce the problem?
- Unpack vie.traineddata downloaded from Tesseract repository
- Run dawg2wordlist on vie.freq-dawg & vie.word-dawg to recover original lists
- Examine the content
What is the expected output? What do you see instead?
The recovered word lists are found to be incomplete and contain many erroneous entries.
Please use the included dictionaries for training data for Vietnamese language.
Apr 16, 2015 #1 zdenop
can you have a look and review Vietnamese dictionaries in langdata repository?
https://code.google.com/p/tesseract-ocr/source/browse/vie/?repo=langdata&name=master
Apr 19, 2015 2 nguyenq87 vie.wordlist.clean would need to be scrapped totally as it contains so many misspelled Vietnamese and English words, words missing diacritical marks or running on together (Vietnamese words are mostly monosyllables).
The provided vie.words_list is composed of several lists commonly used among Vietnamese-language application developers, including those from http://www.informatik.uni-leipzig.de/~duc/software/misc/wordlist.html.
The fourth column in vie.unicharambigs contains many characters that are not Vietnamese, e.g., üûñËÄ. Those characters should not be used for match target.
http://vietunicode.sourceforge.net/charset/vietalphabet.html (http://web.archive.org/web/20150413012244/https://code.google.com/p/tesseract-ocr/issues/detail?id=1392)
@nguyenq - does the new Vietnamese language pack fix this issue?
I haven't test the updated vie.trainneddata; however, the vie.wordlist file found in https://github.com/tesseract-ocr/langdata/tree/master/vie is still plagued with errors. Many of the words seem to be corrupted (broken UTF-8 encoding) as evidenced by the block characters st. Many words contain punctuation marks (.,":?!). Far too many are misspelled.
Why was the provided dictionary word list not accepted?
urdu words