View Single Post
Old 12-14-2020, 01:30 PM   #7
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by ichnilatis View Post
The truth is that I don't know much about programming, scripts etc.
So, my question is if and how can I convert the language files I have (e.g. grc_GR.aff, grc_GR.dic, hyph_grc_GR.dic for Ancient Greek) into a .pattern file.
I can't find it out in the above links.

Τhank you and please forgive my ignorance.
No idea about your input files, sorry.

You can convert .tex hyphenation files to KOReader/Coolreader pattern files with https://gist.github.com/strn/f5c6d9c...d09f21ecad1ffa

IIRC these kind of files (the output of the script) were originally from FBReader, so they should be also compatible with a lot of ebook readers that steal their code.

A source for tex dicts is http://tug.org/tex-hyphen/#languages. There might be others, IDK.
pazos is offline   Reply With Quote