Here's a sentence that means โIn Kyoto, I took a lot of photosโ (Genki II, 15-IV):
ไบฌ้ฝใงใใใใๅ็ใๆฎใใพใใ
If you had a flashcard app that presented you with this English translation and asked you to produce the Japanese, thereโs a few variations youโd want to be able to handle:
Tabito is a small TypeScript app that lets you specify the variations of the sentence you want to allow and then to match user input to this. Try it below! Type various parts of the sentence above with the variations described and see how close you get.
For reference, if you type in misordered clauses, it looks like this:
with the green box indicating that this โpieceโ actually should come first. Once you type in the entire sentence correctly, the background will celebrate:
And hereโs a full editing session: