-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deconjugation of Target Word #18
Comments
That is what As I mentioned on your other issue, if the headword in a dict looks like If you don't care about that you could change this line
and have it use selected.word directly, instead of trying to extract info out of it
|
I'm a little confused by the explanation.
|
The actual lookup is handled by KOreader itself so that doesn't mean the plugin automatically knows what to do. I'm seeing in the snippet your dict has the name 'JMdict-ja-en' which is not list here, so it falls back on the default, which might not work here, it's looking for the patterns listed in that file I linked above as well:
and it's matching that against whatever is in the word for your dict, which might not match You could test it by updating this line:
And append Also obviously make sure the extension is turned on, but I'm assuming that's the case already |
Hey there, loving the extension. One thing I’d like to request if possible - right now, for adjectives and verbs, the target word that gets output to Anki is the conjugated word used in the sentence as opposed to the deinflected dictionary form of the word. For example, if my sentence contains 食べたり, the target word will export as 食べたり instead of 食べる.
Can this behavior - at least optionally - be altered to export the headword of the selected dictionary entry, or deinflected form of the word, as the target word instead? This would help avoid inflated known word counts for me.
The text was updated successfully, but these errors were encountered: