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 11-25-2020, 03:01 PM   #1
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Dictionary lookups persisted somewhere?

Hey guys,

I'm still in the warm-up phase with Kobo. Back in the Kindle days I've built a primitive Flash-Card feed from my kindle dictionary lookup history:
https://github.com/ivy-rew/kindle-voca

To start with, one of my most loved features of the kindle was stored in it's sqlite db. Reading books in foreign language automatically created a history of the words that I have looked up in a dictionary ... so obviously I didn't know these words and should learn them somewhen

Now I've tried to built something the like based on my Kobo readings. As far as I see the .kobo/KoboReader.sqlite doesn't store my history lookups. All I can get from there are bookmarks:
Code:
sqlite3 KoboReader.sqlite "Select * FROM Bookmark"
I also saw that there is a '.kobo/BookReader.sqlite'. But it seem corrupt - at least I can't read it straight forwards with sqlite3. Maybe someone can tell why this doesn't work?

So finally, my real question. Is there any log on my dictionary lookups available? Or can one of the alternative readers provide that? Any hints are welcome that would help me to build flash-cards based on my reading experience.
lordeagle is offline   Reply With Quote
Old 11-25-2020, 03:41 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by lordeagle View Post
I also saw that there is a '.kobo/BookReader.sqlite'. But it seem corrupt - at least I can't read it straight forwards with sqlite3. Maybe someone can tell why this doesn't work?

So finally, my real question. Is there any log on my dictionary lookups available? Or can one of the alternative readers provide that? Any hints are welcome that would help me to build flash-cards based on my reading experience.
You might want to check the /.kobo/Kobo/Kobo eReader.conf file. AFAIR, there are some search items saved there under the [General] header including a DictionaryRecentSearches= one.

The BookReader.sqlite is not corrupt but it is encrypted.
DNSB is offline   Reply With Quote
Advert
Old 11-25-2020, 03:57 PM   #3
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Quote:
Originally Posted by DNSB View Post
You might want to check the /.kobo/Kobo/Kobo eReader.conf file.
Cool tip. Yeah it gives at least a reference. However, watching the file via ssh while reading and looking up words - I don't see any updates. Maybe it has a strange lifecycle.
Code:
[admin@storm Kobo]# grep -A 1 "\[General\]" /mnt/onboard/.kobo/Kobo/Kobo\ eReader.conf 
[General]
DictionaryRecentSearches=imaginative, test
But anyway. It's a good starting point - but still far from the information that I had on Kindle. Hope there's something more available anywhere...

Quote:
Originally Posted by DNSB View Post
The BookReader.sqlite is not corrupt but it is encrypted.
any hints how to read it anyway?
lordeagle is offline   Reply With Quote
Old 11-25-2020, 04:14 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'd take a look at the dreaded "Event" table, there might be one for lookups?

(Again, it's not live, it's updated in bursts according to arcane rules we don't really know about).

----

You really shouldn't care about the small encrypted DB, it's encrypted for a reason, and doesn't contain anything relevant to your interests, AFAIK (it's for Overdrive stuff mainly, right?)
NiLuJe is offline   Reply With Quote
Old 11-25-2020, 04:44 PM   #5
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Quote:
Originally Posted by NiLuJe View Post
I'd take a look at the dreaded "Event" table, there might be one for lookups?

(Again, it's not live, it's updated in bursts according to arcane rules we don't really know about).
Yet I don't see any dict lookup data in there. Mainly just references to the file's/books I'm accessing

----

I think I've just found evidence on a dictionary history feature in KoReader: https://github.com/koreader/koreader/pull/3161

It's about time to install it and give it a try.
lordeagle is offline   Reply With Quote
Advert
Old 11-25-2020, 04:51 PM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@lordeagle,

There's also a hidden beta feature you can try, called MyWords. You can enable it by adding
Code:
[FeatureSettings]
MyWords=true
to the Kobo config file. Possibly needs a reboot afterwards.

If the config already contains a [FeatureSettings] section you only need to add the second line.

ETA: When you look-up a word the dictionary popup has an extra button top-right 'Add to My Words', Then you can look at the words you've stored via More > Activity > My Words tab

These words are stored in your KoboReader.sqlite database in the WordList table

Last edited by jackie_w; 11-25-2020 at 05:24 PM. Reason: ETA
jackie_w is offline   Reply With Quote
Old 11-25-2020, 07:04 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by lordeagle View Post
any hints how to read it anyway?
Sorry but no.
DNSB is offline   Reply With Quote
Old 11-26-2020, 11:28 AM   #8
lordeagle
Enthusiast
lordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankindlordeagle has exceeded all limitations known to mankind
 
Posts: 49
Karma: 17448
Join Date: Jun 2020
Device: Kobo Elipsa2E & Libra H20, Kindle PW3 & PW2
Quote:
Originally Posted by jackie_w View Post
There's also a hidden beta feature you can try, called MyWords. You can enable it by adding
Code:
[FeatureSettings]
MyWords=true
Wow this was a hot tip. Here's how the feauture looks in action:
Click image for larger version

Name:	lookup.png
Views:	220
Size:	170.8 KB
ID:	183602
Click image for larger version

Name:	added.png
Views:	234
Size:	171.8 KB
ID:	183603
Click image for larger version

Name:	words.png
Views:	201
Size:	45.5 KB
ID:	183604

I think the button to actively add it to 'myWords' is even preferable to the Kindle variant, back there I had a lot of false positive cards just as I accidentally marked words from time to time. ... so I had to burry these flash-cards later on the mobile device.

To make it perfect it would be great to have a reference to the real text-position where the word occurred in the book. I really love to see a real quote, ... real context of my real reads when learning cards.
But eventually I can patch that with a search in the referenced book when I produce the feed for the cards. To start with, a simple fuzzy search should bring a similar feature.

Last edited by lordeagle; 11-26-2020 at 11:30 AM.
lordeagle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
change browser to use for dictionary lookups hymanwallace Calibre 2 08-16-2019 08:10 PM
Converting an AZW dictionary to MOBI = no longer treated as a dictionary by Kindle beic Conversion 3 08-02-2016 10:10 AM
Paperwhite firmware upgrade arrives, spruced up dictionary lookups Alexander Turcic News 1 09-06-2013 07:02 AM
Dictionary question: changing word delimiters for french dictionary oecherprinte Amazon Kindle 1 05-09-2011 04:45 AM


All times are GMT -4. The time now is 01:46 AM.


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