Comments (7)
Just to make sure, the content of your “Reading” field is both kanji and kana, as in 「土星[どせい]」, the way it comes out of the Japanese support add-on’s reading generation?
The add-on isn't really up to the task to do a request using two fields as the text source, taking kanji from one and kana from the other. Maybe that is something that can be added. (Maybe with some kind of True/False switch in the code, that the user has to change, see below.)
If you have the kanji in the “Reading” field, the problem is much trickier.
In that case, could you perhaps send a sample deck (per e-mail). Just exporting a few cards and sending that would be fine.
It's not hard to go and change get_fields to "audio_field_keys = ['reading', 'sound']"
That's the nice thing about a scripting/interpreted language like Python.
(Until i get some reports that people didn’t manage to do this kind of change in the code, i feel this is good enough. I don‘t really want to spend too much time writing an elaborate GUI for something that can be done quickly in a text editor.)
from anki-addons.
I would also like it if the kanji side of the reading filed was taken from 'expression', and the 'reading' field(which should be in kana) was used as the kana side.
Ignoring the kanji causes japanese pod to not return anything, because sometimes the same kana can use different kanji.
Here is how my cards are set up.
Expression: 漢字
Reading: かんじ
Audio:
from anki-addons.
I kind of see the point.
At the moment the way the text is selected is rather field based, getting the data out of two fields instead of looking at just one field may be a bit of work. (Too much for me to bother with, if you are out of luck.)
Then again, having kanji and kana in one field as in 「漢字[かんじ]」 has a number of advantages:
- This add-on works better (d'uh)
- You can let the Japanese Support add-on generate the reading for you
- The
{{furigana:NN}}
template works, along with{{kanji:NN}}
,{{kana:NN}}
If you want to keep the pure kana field, you could rename it (to, say, “Just kana”) and re-add a new, empty field “Reading”.
Then you could have the Japanese Support add-on re-generate the readings and only fix those were there is a problem/ambiguity (e.g. 「今日[きょう]」 versus 「今日[こんにち]」), either go through your collection or fix them in the download dialog. That’s more or less what it is there for. (Although when you spot a true error there, you should fix it in the note as well.) In the future you can then just type/copy-paste the kanji and get the reading done for you.
from anki-addons.
Thanks for the suggestion. I wasn't using the Japanese Support plugin, so I had no idea why that was your preferred way of fetching the reading. Here's what my fields look like now, after converting note types.
Was the bracket notation mentioned thing in your guide for the plugin? If so, I must have missed it.
In case you were wondering, I kept my old reading field because I prefer not to use the furigana display thing, as the placement of the kana is sometimes ambiguous.
from anki-addons.
Was the bracket notation mentioned thing in your guide for the plugin?
Not really. See #11
from anki-addons.
I guess i should have written this a bit earlier.
I have added code that should deal with this issue to get_fields.py
. The point is that
- at the moment i don't really have time to test this too much
- and the manual is not ready.
So i havent pushed this to AnkiWeb.
But i guess getting the add-on from here, and when you have installed it to the addons folder changing the naked_reading
to True
should work.
from anki-addons.
I have now
from anki-addons.
Related Issues (20)
- Replay button plugin shows text instead of image HOT 3
- Japanese - Nothing Downloaded HOT 9
- "remap replay audio button to plus key" and "More shortcuts" HOT 1
- deck_name_in_title 2.1 HOT 4
- [feature request] replay button styling in add-on not in template HOT 7
- Addressing potential Cookie Monster incompatibilities with other add-ons
- Make the way the nid in "Add Note ID" is calculated optional HOT 2
- Recently not working for japanese, but worked perfectly a few days ago. HOT 3
- I get this error after installing the addon HOT 3
- Change the place of button HOT 1
- Cannot replay from the start sometimes if a field has many audio clips HOT 2
- Replay buttons on card and 2.1.20 HOT 9
- downloadaudio Error on Anki 2.1.20 Beta 5 HOT 2
- add_note_id: importing new cards into a note with Note ID field
- Add_Note ID no longer works in Anki 2.1.29+ HOT 4
- make note-id a real uuid HOT 4
- Changing note id to uuid breaks compatibility with linking HOT 1
- Replay buttons on card plugin not working for Anki 2.1.15 HOT 1
- Not support 2.1.49
- 插件启动失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anki-addons.