In light of the new context sentences, I’ve decided to update this script to really bring them to the forefront.
The original script was created by @nelemnaru with the help of @rfindley. I edited it for my own (narrow) use, so it broke a lot of features that I didn’t care about.
The only feature that can easily be tweaked is whether the sentences show up on ‘meaning’ questions. By default, they only show up during ‘reading’ questions (the way I prefer).
The one thing it adds: switching between all the sentences for the given vocabulary with little arrows above the sentence. Now we can read all the sentences that WaniKani provides during the review!
I wonder if the sentences could appear after you finish a certain item. I just tried it and I end up trying to translate the sentence before even giving the answer. What happens is that no whether I know the item or not, I will get the meaning through the translation, which technically can be “cheating”.
I use a script that takes me to the next prompt as soon as I hit submit once (provided I answered correctly) so I broke the show-after-correct functionality the script originally had and never fixed it.
I’m a pretty big lurker around here and I see you post a lot of quality posts – so just for you, I decided to fix that functionality!
If you update the script, you’ll find that you can now change a setting at the top of the code to only show sentences after you have correctly guessed the prompt. I put some other settings there too – they’re pretty self explanatory. Note: If I ever update the script again, all the settings will revert to default.
I also added a feature: clicking on a sentence will pin it to the bottom on of the answer box. If you’re putting the sentences in another SRS or perhaps just compiling a few for some type of review, you can just copy and paste all of the pinned sentences in one go. Just make sure you remember to do that before you are taken away to the Review Summary.
I wanted to have the pinned sentences show up in the Review Summary instead, but it was a lot of work to get the data to persist between pages… Maybe when I have more time
If I ever actually get that working, it’ll probably be time to make a thread for the script…