Our Dictionary for eBook readers (and a little bit more)

Started by eanayo, November 29, 2010, 02:35:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eanayo

Kaltxì, frapoya!

Well, I thought it would be nice to have yet another incarnation of our dictionary - this time for those new-fangled eBook reader thingies.
Behold!


What's this all about?
Quite simply, this is an eBook (mobipocket and epub) version of the Na'vi dictionary. It should be readable on pretty much all eBook readers around - and if not, there are also HTML files provided. The mobipocket file is an indexed dictionary, which means that you can quickly search primary entries or even set it as the default dictionary to get instant lookup (just in case you're reading many eBooks in Na'vi)

What's in there?
The dictionary is based on the data provided by Tuiq, which means that the words in there are the same as you get in Taronyu's dictionary. In addition, however, I've also pulled the examples, comments and cross-references from the wiki vocabulary page, which means that you also get all that information along with many of the words.
Just as Taronyu's dictionary, this one comes localized for all the languages that are currently exported. Note, however, that thus far only the translations are localized - all the extra bits are still in English (with potential for translation).

How do I get it?
You can download the eBook and HTML files from here:
English: mobipocket epub HTML
Estonian: mobipocket epub HTML
German: mobipocket epub HTML
Hungarian: mobipocket epub HTML
Portuguese: mobipocket epub HTML
Swedish: mobipocket epub HTML
Dutch: mobipocket epub HTML

Anything else?
Yes, in particular:

  • Feedback. Please. On anything. The layout, the way the entries are presented, anything you're missing, just let me know. Right now this is in an early test phase, nothing is set in stone and changes can be made quite easily
  • There will be errors. The examples and references went through a couple of half-hearted regexes and my clumsy hands. Some may be missing. Some may have weird things in them. I also added a few myself. If you see anything suspicious, please let me know.
  • I have deliberately removed the stress markers from the IPA and used underlines in the main word instead. The reason being two-fold: One, the IPA rendering isn't pretty on the Kindle in the first place, and with the infix and syllable markers in there it just got stretched out beyond the bounds of what is aesthetically tolerable. And two, I like underlining much more myself ;) Any comments on that would be appreciated.
  • I have added two "test" words in the English dictionary (I'll leave finding those as an exercise to the reader) to show the various items that are currently supported. That's basically to gather feedback on how things should be organized in the dictionary (e.g. how many and which different types of cross-references should be used etc). Again, all comments my way, rutxe.
  • The Kindle at least lacks an easy way to enter ì and ä, which may make searching the dictionary a bit difficult. If anyone has a good solution for that...
  • The index only contains the main entries, no inflected forms. In my opinion, adding inflected forms would just blow up the dictionary file, but not add much functionality. Any thoughts on that?

The "little bit more"
(or: why this is not in the mobile apps section)
As hinted above, getting stuff from the wiki isn't fully automated or reliable, so I decided to dump all that into a database to allow for manual corrections. Or additions. Or translations. I think you might see what I'm trying to get at...
Essentially, I think that, should there be interest, this could potentially be a starting point for something else. Maybe just translations of the existing examples, maybe overhauling those. Maybe a growing collection of "extra" dictionary information that could supply data to other applications.
Let me get one thing perfectly straight: I don't want to put Tuiq out of his job or interfere with the way the current dictionary system works, and neither do I aim to set up an alternative to the wiki vocabulary. But if the community is interested in developing this forward, I am more than happy to help out. If not, this will stay what it is: an eBook version of the dictionary that is fed from Tuiq's SQL file and the wiki - no redundant information, no divergence, no duplication of efforts.

Even more
The mobipocket files, the HTML files and the SQL file below are all released under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License (summary full text).
For those of you interested in re-using this material, there is also a SQL file of the extra material (i.e. without the main word list and translations) available: clicky! Note that the database schema may change in the future - right now it's a bit... peculiar ;)
Thanks go to the contributors to the original sources, that is the editors and translators of the PDF dictionary, Tuiq and the editors of the wiki.

Well then... have fun!

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

wm.annis

Man.  I've been slacking on the wiki.  Plenty of words have good, Frommerian examples that haven't been cited yet.

'eylan na'viyä


eanayo

*clears out cobwebs*

A small service notice: Unless there is overwhelming customer demand (or some serious updates), the update script won't be running between the 17th of December and 10th of January. Downloads will remain available as normal.

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Muzer

Wow, this looks great - I must try it on my PRS-505 (no searching there of course, though)
[21:42:56] <@Muzer> Apple products used to be good, if expensive
[21:42:59] <@Muzer> now they are just expensive

eanayo

Cool! Let me know how it works, I'm especially curious about things like formatting and IPA. ;)

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Puvomun

I could make epub files from the HTML files. Would anyone be interested?
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

eanayo

Quote from: Puvomun on January 07, 2011, 02:38:25 PM
I could make epub files from the HTML files. Would anyone be interested?
Ma Puvomum, that sounds like a nice idea you have there. I probably won't have much use for epub files myself, but anything that makes the dictionary accessible to more people must be good :) Let me know if you need anything besides the HTML.

In completely unrelated news, the updates are running again.

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Puvomun

Hmmm. First attempt is #fail, alas. The document is XHTML, not regular HTML. My epub builder only handles regular HTML.  :-\
Is it easy for you to build regular HTML 4 documents from your source? Otherwise I could write a program to rebuild the XHTML into HTML. Epub files use standard HTML internally.

Or I could dump the output using Lynx (text webbrowser) and capture its output. But I'll first wait for your reply, ma Eanayo.
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Sіr. Ηaxalot

I think that the problem might be that it's a hybrid between (X)HTML and another language. The HTML validator gives 2528 Errors, mostly because "element "idx:entry" undefined".

Puvomun

Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

eanayo

Yeah... well... the "embedded" XML is for the dictionary index. Of course, it would be possible to keep the HTML and XML in separate files, but to be honest, I just couldn't be bothered (and mobipocket themselves don't seem too bothered in their reference implementations either). The HTML files in the OP are actually just the intermediate files that are fed to the eBook generator, and are more or less "just for reference".

Anyway, for those of you who don't want to ignore unknown tags, there's a now a set of almost valid HTML 4.01/Transitional files in the OP ;)

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Puvomun

Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Puvomun

We're getting there. When I download one of the files, I find I have to replace all <hr> with <hr><p> or everything is squashed in one line.
Another snag I run into with Jutoh (the program I use) is that it crashes when the dictionary is in 1 big file (over 800KB seems to be too much for one page for it).

I'd have to write a program that chops up all the separate blocks (distinct starting letters) into separate files. Not a problem to do that, but a problem to find time for that at the moment.

Not sure when I can actually get to that...
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

eanayo

Hmmm... that sounds a bit odd. Probably not really worth going through all the trouble there. But many thanks for your efforts :)

I've just shoved the mobipocket files through Calibre, could you please check whether the epub file can be read by your reader?

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Puvomun

Quote from: eanayo on January 13, 2011, 04:40:33 AM
Hmmm... that sounds a bit odd. Probably not really worth going through all the trouble there. But many thanks for your efforts :)

I've just shoved the mobipocket files through Calibre, could you please check whether the epub file can be read by your reader?
I can officially state that a Sony PRS 350 handles the result perfectly. Even the hyperlinks work without a problem.
Smart thinking, ma 'eylan, using Calibre. Txantsan!
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

eanayo

*phew* glad it works. I'll put that into the automated process as soon as I've got time.

Thanks for the epub idea (and testing ;) ), +1 cookie for you!

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Puvomun

Quote from: eanayo on January 13, 2011, 09:43:35 AM
*phew* glad it works. I'll put that into the automated process as soon as I've got time.

Thanks for the epub idea (and testing ;) ), +1 cookie for you!
Coolness, danke schön für den Kuchen! Werd' gleich mal in die Küche gehen... ;)
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

eanayo

Right everyone, the epub files have been added to the OP and will be kept up-to-date automatically. Give me a shout if there are any problems.

Ma Puvomum, danke auch recht schön für's Leckerli. Kuchen und Kekse ftw! ;)

Visit Our Dictionary for eBook readers, The Na'vi Word Puzzle Game and the Cryptogram Generator
srake tsun pivlltxe san [ˈɔaχkat͡slʃwɔaf]?

Stawmyu Feyä Aymokrit

Kaltxì ma eylan,
What would be required in order to build a French dictionnary epub ?
I can use the english one of course, but it would be easier with french :D

Nìtxan irayo

Stawmyu Feyä Aymokrit
Alt GR + 7 + i ==> ì
Shift + ^ + a ==> ä

Quote from: Jake S. (c)2154Cette langue est une vraie vacherie