Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2016, 04:07 PM   #1
two_wheels
Junior Member
two_wheels began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2016
Device: calibre
Implementing large, specialized dictionary

I am trying to create an ePub book rendition of a large, specialized dictionary. I initially attempted to create it as an instance of a generic ePub book. At 40,000 plus entries, with other supplementary material and images, the book comes in over 1.5 GB and simply isn't functional in any reader that I've tested it in. I then turned my attention to the dictionary format/application, thinking, perhaps, that it would be possible to capture the dictionary as an ePub dictionary, and create a simple, ePub book/document as a portal to the dictionary. The idea was that I could somehow embed lookups to dictionary terms in the portal, which would then allow me to access the dictionary that way. If that is even possible is a problem I've struggled to resolve, however, simply because of the scarcity of demonstrated examples of epub dictionary implementation on the web. Or else I'm just looking in the wrong place.

I would appreciate any guidance or recommendation.
two_wheels is offline   Reply With Quote
Old 09-13-2016, 01:35 AM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,049
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I don't think that epubs are a good fit with dictionaries. They don't differentiate between any of the contents, making searching more difficult (you'll be searching the definitions as well as the words being defined). Generally, electronic dictionaries are created using some specific structure that a dictionary application understands (e.g. xdxf or sdict markup). You would probably be better off creating such a structured dictionary, and then converting that into whatever format is needed by your device.

I had a similar problem with a 1600 page dictionary I scanned for personal use. I created a PDF file of the scanned images, and used PDFMARKs to create an index for the dictionary. At the top level, I had a bookmark for each letter of the alphabet. Next level down, I grouped eight pages together, labeling them with the first and last word in each grouping. At the final level, I had a bookmark for each page, labeling it with the first and last word on that page. That way, I could find the location for each word with three clicks through the index. Obviously, that's a lot of work (almost 1800 bookmarks in my case), but it is worth it if the dictionary is used extensively afterwards.

If you insist on epub, maybe you can divide the contents in a similar way that would make navigation easier.

Last edited by rkomar; 09-13-2016 at 01:43 AM.
rkomar is offline   Reply With Quote
Advert
Old 09-13-2016, 02:35 AM   #3
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
mobipocket had support for dictionary. ePub hasn't (yet).
You can find information about future working about dictionary and EPUB3 here:

http://www.idpf.org/epub/dict/
fbrzvnrnd is offline   Reply With Quote
Old 09-13-2016, 03:12 AM   #4
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,049
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Interesting. Is there any application that understands or plans to understand such dictionaries?
rkomar is offline   Reply With Quote
Old 09-13-2016, 10:15 AM   #5
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 557
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
afaik: none. You can find some 2015 update here:

http://www.idpf.org/epub/dict/roadmap.html
fbrzvnrnd is offline   Reply With Quote
Advert
Old 09-14-2016, 01:06 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,710
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
@two_wheels: IMHO, the best approach would be to offer StarDict and Kindle dictionaries. This should cover most platforms and for each format at least one free reading app exists. Also many Android epub reading apps have hooks for third-party dictionary apps.

Since StarDict dictionaries can't be DRM-protected, you'll have to sell them on your own website or include a password-protected download link in the epub.

Depending on the bookstore, you also might be able to create an epub3 book with JavaScript that searches an embedded sqlite database.

I toyed with this idea some time ago and created a proof-of-concept epub3 book that allows you to search a 10 word English-French word list.

Unfortunately, it only works with the iOS and Android versions of ADE 4.5 and Azardi. (It doesn't work with Sigil or Calibre Editor.)
However, since I only have rudimentary JavaScript skills there might be a bug in one of the JavaScript files.
Attached Files
File Type: epub sqlite_dictionary.epub (412.3 KB, 192 views)

Last edited by Doitsu; 09-14-2016 at 01:23 PM.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Even more specialized than ereaders : the wikireader sebastienbillard News 43 10-15-2009 12:49 PM
Best for large PDFs and dictionary sheygetz Which one should I buy? 4 08-17-2008 07:49 PM
iLiad Implementing an alternative iDS service -Thomas- iRex Developer's Corner 1 12-29-2007 04:02 AM
iLiad implementing search in iPDF? xristy iRex Developer's Corner 2 10-19-2007 03:28 PM


All times are GMT -4. The time now is 03:51 AM.


MobileRead.com is a privately owned, operated and funded community.