WaniKani Sentence Practice Tool

I quickly mocked up this “WaniKani Sentence Practice” browser-only tool. It…

  • Uses your WaniKani API key to fetch vocab with reviews due in a user-specified time window.
  • Shows one random context sentence per vocab word
  • Skips sentences you’ve already seen today
  • Randomizes the vocab order
  • Randomizes the Japanese display font (would be great to be able to turn this off. Or say “don’t use this font anymore”.
  • Tracks progress and review history in localStorage (although this progress tracking isn’t utilized in any way at this point, tbh I’m not sure I care. I just want to read sentences.

Here it is: WaniKani Sentences

Here’s the github repo: GitHub - equant/wanikani_sentences: WaniKani sentence practice browser-only tool · GitHub )

Here are old screenshots…

I wish I could include the Common Word Combinations, but they’re not available in the api. :frowning:

15 Likes

Maybe put it on a github page and link to that page?

2 Likes

Ok, I changed things a bit. There’s now a settings panel so that you can specify the window of time you want to review. So, for example, in this screenshot I’m saying “I want to review vocab where the next review is over a month from now…”

Whereas the following settings would be “Everything in the next week not including today”

… and then I added a “next” button because I thought maybe that’d be necessary for on the phone, but I haven’t tried it on my phone at all.

Also I added more fonts, and made it so that the handwritten font is used less…

  const weightedFonts = [
    { class: 'font-kosugi', weight: 0.22 },
    { class: 'font-mplus',  weight: 0.22 },
    { class: 'font-noto',   weight: 0.22 },
    { class: 'font-zen',    weight: 0.22 },
    { class: 'font-boku',   weight: 0.12 }  // handwritten
  ];

This is great. I was just thinking about doing something like this. That’s for doing it.

1 Like

I’ve made a few simple changes to make the experience better/easier/possible on mobile and also updated the readme with more instructions/explanations.

Previously, you had one chance to enter your API and that was it. Now you can change/correct it in the settings popup. I’ve successfully been using this tool on my android phone with both chrome and firefox.

I really like using this tool. It’s great when I’m out and need to waste a minute or two waiting for something, and I don’t want to use something that needs audio. Depending on my mood, I can easily set it to study stuff that’s going to come up soon, or stuff that I’m not going to see (in WaniKani) for many weeks. I’ve only been using it for a few days, but being tested on the kanji/vocab in sentence contexts feels really helpful to me.

1 Like

I’ve added a little speaker icon. This hack opens (in a new window) google translate with the sentence pre-populated so that you can listen to the sentence if you want. It’s not the best solution, but I only rarely want to hear/use this feature. Mostly when there’s katakana that I’m struggling with.

3 Likes

Just a quick note… I noticed that it works in vacation mode, which I think is nice. So you can get in a quick reading/study even on vacation.

1 Like

This is cool, thanks for sharing it!

1 Like

It’s now easier to install…

… on that page if you do “add to homescreen” it can install it as a icon/app on your phone.

New release has…

  • study modes…
    • upcomming reivews
    • recently learned
    • burned
  • Study in user-defined batches (so like 10 sentences per batch)
  • Changed the text-to-speech a little. (settings)

I have a few ui changes to tweak, but that’s the update.

1 Like

Great sentence, wish I had been able to read it. Was so close, but totally confused by it…

This is actually an awesome tool, thanks for sharing! It’s really great to be able to practice sentence readings with vocabulary that I’m 100% sure I’ve studied at some point.

Personally, the only feature I’m missing is a toggle for furigana or “whole-kana” version of the sentences. The audio feedback is a good addition, but sometimes you just wanna make sure you nailed that reading on that last word at the end of the sentence. With audio you’re forced to wait all the way till the end and sometimes you need to go over it a couple times. Maybe I’m asking too much, but a toggle would be chef’s kiss :face_blowing_a_kiss:

1 Like

This is exactly what I was looking for! Also I dont mind weird fonts because I think reading japanese in strange fonts always throws me off, so its great practice.

ありがとう😁

You might also like to try BunBun: BunBun - WaniKani Sentence Review