View Single Post
Old 07-30-2020, 12:43 PM   #573
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by skalden View Post
I suppose that something goes wrong in Plato?
Yes and the underlying bug is fixed in 0.9.1: thank you for the report.

You might still encounter problems due to the poor formatting that plagues many dictionaries.

I would recommend using sdunpack (I've added binaries for Linux and macOS) and dictfmt over PyGlossary for the following reasons:
  • You'll be able to unpack a dictionary using dictunformat (dictunformat --headword-separator '|' name.index < name.dict > name.txt), fix typos and formatting mistakes in the source file and regenerate the dictionary using dictfmt.
  • When Plato gathers the dictionary names, it will only load the section of the index that contains the metadata entries.
  • The index won't be sorted: it already is.

You might ask for help with the formatting problems in this thread.
baskerville is offline   Reply With Quote