Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2016, 07:41 PM   #1
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Best format to create dictionary

Hi!

There are many topics and pages on how to create/convert custom dictionary for Kobo.
I have quite big database consist of
- word,
- definition (multiline, html formatted),
- inflections (forms?)

It's polish-polish source.
I do export this database to html which then i convert with kindlegen to mobi file.
I do not own any Kobo device and i have no idea how to make it 'the good and easy' way.
I was thinking that penelope has ability to convert from babylon to Kobo on the fly (i'm looking for CLI software), but it doesn't. But first i made scripts, and then checked =/

I was thinking about creating .tab Source, but can not find (it's quite late in Poland ), at the moment, any useful information about doing it with inflections.
Found this page too - it's cool, but again - no inflections (?!).

Am i missing something or it is not The Way?

Regards!

Last edited by San Zamoyski; 06-05-2016 at 07:48 PM.
San Zamoyski is offline   Reply With Quote
Old 06-05-2016, 08:26 PM   #2
San Zamoyski
Enthusiast
San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.San Zamoyski is an enigma wrapped up in a mystery.
 
Posts: 48
Karma: 41612
Join Date: Jan 2015
Location: Poland, Warsaw
Device: Kindle 3G
Quote:
Originally Posted by San Zamoyski View Post
Found this page too - it's cool, but again - no inflections (?!).
Ok, i belive i can do this this way:

Code:
<?xml version="1.0" encoding="utf-8"?>
<html>
<w><p><a name="inflection1"/><a name="inflection2"/><a name="inflection3"/><a name="inflection4"/>Definition</p></w>
</html>
Am i right?

At the moment i can not compile marisa, but tomorrow i'll work on it.
San Zamoyski is offline   Reply With Quote
Advert
Old 06-06-2016, 03:48 AM   #3
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by San Zamoyski View Post
Ok, i belive i can do this this way:

Code:
<?xml version="1.0" encoding="utf-8"?>
<html>
<w><p><a name="inflection1"/><a name="inflection2"/><a name="inflection3"/><a name="inflection4"/>Definition</p></w>
</html>
Am i right?

At the moment i can not compile marisa, but tomorrow i'll work on it.
Maybe this works. The usual way however is:

Code:
<w><p><a name="base_form"></a>Lexem as it should be desplayed, with phonetic transcription and whatever</p><var><variant name="inflected_form_1"/><variant name="inflected_form_2"/></var><p>Definition</p></w>
Be aware that the two first letters of the "a name" and the "variant name" have to match. Otherwise the variant is not recognized. For instance, in the case of <a name="go"></a> <a variant="went"/>, the variant has no effect at all.

Last edited by tshering; 06-06-2016 at 03:50 AM.
tshering is offline   Reply With Quote
Old 06-06-2016, 05:03 AM   #4
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 77
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
Quote:
Originally Posted by San Zamoyski View Post
Hi!

I do not own any Kobo device
Send me your work for testing when you will have it ready.
Jak już będziesz miał coś gotowego do potestowania, to daj znać.
mietek81 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create your own mobipocket dictionary for any language: drago Workshop 175 03-24-2020 03:48 PM
Need help to create a dictionary sjheiss Kindle Developer's Corner 4 12-30-2011 09:35 PM
create dictionary from scratch Gianni Amazon Kindle 0 05-26-2011 08:29 AM


All times are GMT -4. The time now is 08:15 AM.


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