View Single Post
Old 10-17-2013, 03:48 PM   #644
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Ancient Language Dictionary Support

Ancient Greek dictionary support is working rudimentary! It works for non-reflow text, but not yet in reflow mode.
  1. the code needed will be in the next nightly (after build 583).
  2. the dictionary is Liddell-Scott-Jones 126k words

For now it doesn't seem to work in reflow-mode. But when it will, you'll need
  1. OCR-data for Ancient Greek. (Decompress and copy to koreader/data/tessdata.)
  2. Change the following lines in default.lua to:
    -- document languages for OCR
    DKOPTREADER_CONFIG_DOC_LANGS_TEXT = {"English", "Chinese_S", "Ancient Greek"}
    DKOPTREADER_CONFIG_DOC_LANGS_CODE = {"eng", "chi_sim", "grc"}

A small Latin-English dictionary can be downloaded here. (Remember to decompress the dict.dz-file, before copying the ifo-, idx- and dict-files to the koreader/data/dict directory)
Markismus is offline   Reply With Quote