You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are certain words that are frequently used in answers, and as of now, only the pure Hiragana versions are considered valid:
おいしい ー 「美味しい」は使えません。「おいしい」だけは使えます。
友だち ー 「友達」は使えません。「友だち」だけは使えます。
It's been my experience that popup suggestions while typing, will show the version of the word that contains the Kanji characters. I can create a PR if you're in agreement. Thanks for making this amazing learning tool!
The text was updated successfully, but these errors were encountered:
ryanone
changed the title
Allow Kanji equivalent for おいしい
Allow Kanji equivalent for various words
Mar 7, 2024
You're free to make a PR to implement these variations if you like! I've already done a course of implementing support for ともだち、友達 and 友だち, before, but there is the chance I've missed some. I'll leave info on how the answer fields work below.
Normally for a single answer, the field looks like this: {答え}
For two or more answers it looks like this by adding the "answer" flag on the end: {答え1|答え2|答え3|answer} (only the first two answers are visible to the user)
For automating the generation of mixed kana/kanji answers we have a helper function called Genki.getAlts(). It's used in this fashion: brackets to capture a kanji in the first argument's sentence, and the kana definitions for the captured kanji in the second argument, separated by a horizontal bar.
Two visible answers, either in full kana or full kanji, and then multiple hidden sub-answers generated by Genki.getAlts(). For the above answer, it generates the following sub-answers allowing more liberal usage of kana or kanji.
There are certain words that are frequently used in answers, and as of now, only the pure Hiragana versions are considered valid:
It's been my experience that popup suggestions while typing, will show the version of the word that contains the Kanji characters. I can create a PR if you're in agreement. Thanks for making this amazing learning tool!
The text was updated successfully, but these errors were encountered: