BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 14 languages supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
418 stars 24 forks source link

feat: improve how missing templates are reported #2185

Closed BoboTiG closed 1 month ago

BoboTiG commented 1 month ago

Missing templates are now printed at the end of the process, sorted by the total number of occurrences, and with 3 examples. It will ease prioritizing our work, eventually.

Example of output from the Greek dictionary:

Missing 'λείπει η ετυμολογία' template support (45,707 times), example in: "Αϊδωνιά", "Αϊδώνα", "Αϊντίνι"
Missing 'πρόσφ' template support (12,971 times), example in: "-δικείο", "-μάλλης", "-πλευρος"
Missing 'μτφδ' template support (4,352 times), example in: "-γόνος", "-κέφαλος", "-καλλιέργεια"
Missing 'δαν' template support (3,808 times), example in: "-άδα", "-άρω", "-έζος"
Missing 'βλ' template support (3,581 times), example in: "'γγίζω", "-έλαιο", "-ήδικος"
(...)
Unhandled templates count: 117