😄 KanjiEater's Smart Japanese Kindle Highlights
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
- 2.1.35-2.1.49+ (Updated 2021-11-28)
To download this add-on, please copy and paste the following code into Anki 2.1:
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Works as intended, would be nice to fix or make it an option, multiple target words sentence, so no duplicates anymore if the highlighted words are from the same sentence.
You might think that it's better to force i+1 sentence cards but hey I have no issue with i+2 sentences, it's not that much more difficult and I get to review my words in the context I wanted :D
Also F* Amazon for making me need to use internet and register my kindle to use the vocabulary builder, now it's bloated with useless things, like really thank you Amazon, good job!
Switched to Manjaro linux, I barely know a thing about coding but apparently line 17 in "importer.py" it needs to be "ja_JP.UTF-8" instead of "ja_JP".
You can register your device without problems actually, I used my mobile internet(shared) to register the kindle and as soon as it was registered I cut off the internet from my mobile, the kindle didn't have the time download dictionaries or whatever files, got no ads, no stupid screensaver and yes I have the vocabulary builder and the features unlocked with registering
so now I have my custom screensaver because my device is jailbroken
You do need a bit of anki knowledge to set it up, but just watch the video and/or reach out in the discord if you run into trouble ;)
Your Kindle must be in Japanese to use this add-on currently.
No Japanese was detected.
Before trying again, try changing your Kindle to Japanese and deleting your My Clippings.txt from your Kindle.
My kindle is in Japanese, also try deleting My Clippings.txt and doesent work
Also, if you downvote it makes it harder for others to find the addon on Anki's site, which makes it less likely that someone else will post something useful that could help in your error.
EDIT 8/22: Never got an update or found out what this lad's issue was :(
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Anki 2.1.48 (fb07bad3) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 8.1
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-10-31 13:25:31
Traceback (most recent call last):
File "C:\Users\Shigen\AppData\Roaming\Anki2\addons21\1353504091\__init__.py", line 8, in main
from . import importer
File "C:\Users\Shigen\AppData\Roaming\Anki2\addons21\1353504091\importer.py", line 19, in <module>
File "C:\python\lib\locale.py", line 608, in setlocale
locale.Error: unsupported locale setting
If you have an issue, please join the discord & post in #tech-support:
The only thing I find it inconvenient is that it lacks dictionary definition from Kindle. Is there any way I can add definition of words automatically?
My personal solution is to just use Migaku to add definitions and Forvo audio to all of my cards in bulk. It's not too bad to set up once, then set & forget. I don't use it for anything else.
Do your AJATTing self a favor and download this.
This saves me loads of time importing sentences from my kindle. The only thing that would make it better is if the definitions could be loaded from a dictionary on import, but a couple of keyboard shortcuts and sdcv can be used to get this done pretty quickly.
Make sure your Note Types are correct when using.
Traceback (most recent call last):
File "C:\Users\Erik\AppData\Roaming\Anki2\addons21\1353504091\__init__.py", line 7, in main
File "importlib\__init__.py", line 169, in reload
File "<frozen importlib._bootstrap>", line 604, in _exec
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\Erik\AppData\Roaming\Anki2\addons21\1353504091\importer.py", line 14, in <module>
from kindleImporter.splitter import deconjugate, Splitter, Words
ModuleNotFoundError: No module named 'kindleImporter'
It seems to originate from, as the error indicates, the kindleImporter in importer.py. Commenting out the line no longer gives the same error, but it can't parse the clippings, as expected. Hopefully, there's a fix because this addon seems amazing!
I've fixed your original issue. Thank you for the prompt & detailed bug report.
As for your issue of "The following 68 clippings could not be parsed",
let's run through a quick checklist:
1. Is your kindle in Japanese? (The kindle & clippings must be in Japanese) If so, can you DM your MyClippings.txt?
2. Is Vocab Builder enabled on your Kindle? ( inside Settings -> Reading Options ). This must be enabled BEFORE you highlight words. Old highlights done before Vocab Builder was enabled won't work. I recommend deleting all your old MyClippings.txt before starting with this.
3. Vocab Builder didn't work on my sideloaded .mobi files. If your books are mobi, try converting them to azw3 with Calibre.