View Single Post
Old 10-12-2021, 04:08 PM   #1
FrankJH
Member
FrankJH began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Oct 2021
Location: Stuttgart, Germany
Device: Galaxy Tab S7+
Dictionary as Epub

Dear All,

so far, my Google researches concerning this subject haven't been successful, so I took the liberty to ask a question here.

I'd like to create my own dictionaries.

I developped some Java-routines which are able to download specific sections from the English and French Wiktionary, process them and are able to output them in HTML.

Using CSS-Stylesheets, one can achieve a very good readability, but there's one problem.

I made a test with approximately 6000 entries ... these entries are linked via the table of contents to the explanations - this mean: a lot of href's.

It turned out to very slow ... anyway, it is also slow if I open my self-compiled dictionary page in a browser.

Obviously, using href's is not the best way to handle this ...

Has anyone of you experiences with a dictionary as an epub?

I guess one has to use a database ... but is this possible within an epub?

I think we have to use Javascript for these purposes ... but maybe I'm wrong ...

I'd also like to implement an index search ... this means: I use an input prompt, while typing the search term, proposals/term completions will be shown, e.g. if I type in the search term "for", proposals like "for", "forbidden", "foresake" will be shown.

If anybody has solved this problem, it would be very nice if he (or she) would share these experiences with me.

Best wishes, and thank you in advance, Frank

P.S. Please feel free to tell me that my ideas are wrong or if something of this kind won't work ...
FrankJH is offline   Reply With Quote