Pyglossary conversion to stardict
Hello M. Sarmat89,
I think that I have been trying to drown a fish; the pyglossary conversion of my files/s has not been working. I will admit that there may be "operator error"-myself-to be exact.
You have been gracious enough to give me some perl code to try and convert the csv and txt files but the indexes are not constructed properly.
I have an .xml file-I am not sure if this is the complete dictionary-but pyglossary wants the formats and extensions supported included here:
Format Extension Read Write
ABBYY Lingvo DSL .dsl X
AppleDict Source .xml X
Babylon .bgl X
Babylon Source .gls X
DictionaryForMIDs X
DICTD dictionary server .index X X
FreeDict .tei X
Gettext Source .po X X
SQLite MDic .m2 Sib .sdb X X
Octopus MDic .mdx X
Octopus MDic Source .txt X X
Omnidic X X
PMD X X
Sdictionary Binary .dct X
Sdictionary Source .sdct X
SQL X
StarDict .ifo X X
Tabfile .txt, .dic X X
TreeDict X
XDXF .xdxf X
xFarDic .xdb
The xml that I have is probably not in an appledictsource format. Can't say for certain. I tried it in pyglossary but pyglossary seems to hang and nothing appears in the window.
There are the stardict and penelope converters but I cannot seem to get someone to tell me how to install them in windows or linux much less work with these applications. Plus, I am not sure that these apps would be successful where pyglossary was not.
I am not a programmer and this puts me at a disadvantage and I am certainly thankful for the time and help(you and M. Markismus) that you have given me.
I am disappointed, to say the least, that I couldn't succeed in getting this dictionary into stardict under koreader. The pdf version is a searchable file but has nowhere near the convenience of use under stardict and koreader.
I don't know what else can be done.
Very cordially,
pz
Last edited by pzack; 09-21-2022 at 12:38 PM.
|