From ff1d3fb6b62f1c783467e375ea24ad3bfe595526 Mon Sep 17 00:00:00 2001 From: doncr Date: Sat, 13 May 2017 22:02:16 +0100 Subject: [PATCH] Changed to calculate tags automatically. --- conjugation/drill.js | 1684 +++++++++++++++++++++--------------------- 1 file changed, 852 insertions(+), 832 deletions(-) mode change 100644 => 100755 conjugation/drill.js diff --git a/conjugation/drill.js b/conjugation/drill.js old mode 100644 new mode 100755 index 2802251..38e0b79 --- a/conjugation/drill.js +++ b/conjugation/drill.js @@ -2,922 +2,922 @@ var words = { - "行く" : { + "行く": { - "group" : "iku", + "group": "iku", - "conjugations" : { + "conjugations": { - "dictionary" : "行[い]く", - "negative" : "行[い]かない", - "polite" : "行[い]きます", - "polite negative" : "行[い]きません", - "past" : "行[い]った", - "past negative" : "行[い]かなかった", - "polite past" : "行[い]きました", - "polite past negative" : "行[い]きませんでした", - "te-form" : "行[い]って", - "te-form negative" : "行[い]かなくて", - "potential" : "行[い]ける", - "potential negative" : "行[い]けない", - "imperative" : "行[い]け", - "imperative negative" : "行[い]くな", - "passive" : "行[い]かれる", - "passive negative" : "行[い]かれない", - "causative" : "行[い]かせる", - "causative negative" : "行[い]かせない", - "causative passive" : "行[い]かせられる", - "causative passive negative" : "行[い]かせられない", - "progressive" : "行[い]っている", - "progressive negative" : "行[い]っていない", - "polite progressive" : "行[い]っています", - "polite progressive negative" : "行[い]っていません", - "progressive past" : "行[い]っていた", - "progressive past negative" : "行[い]っていなかった", - "polite progressive past" : "行[い]っていました", - "polite progressive past negative" : "行[い]っていませんでした", + "dictionary": "行[い]く", + "negative": "行[い]かない", + "polite": "行[い]きます", + "polite negative": "行[い]きません", + "past": "行[い]った", + "past negative": "行[い]かなかった", + "polite past": "行[い]きました", + "polite past negative": "行[い]きませんでした", + "te-form": "行[い]って", + "te-form negative": "行[い]かなくて", + "potential": "行[い]ける", + "potential negative": "行[い]けない", + "imperative": "行[い]け", + "imperative negative": "行[い]くな", + "passive": "行[い]かれる", + "passive negative": "行[い]かれない", + "causative": "行[い]かせる", + "causative negative": "行[い]かせない", + "causative passive": "行[い]かせられる", + "causative passive negative": "行[い]かせられない", + "progressive": "行[い]っている", + "progressive negative": "行[い]っていない", + "polite progressive": "行[い]っています", + "polite progressive negative": "行[い]っていません", + "progressive past": "行[い]っていた", + "progressive past negative": "行[い]っていなかった", + "polite progressive past": "行[い]っていました", + "polite progressive past negative": "行[い]っていませんでした", }, }, - "飲む" : { + "飲む": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "飲[の]む", - "negative" : "飲[の]まない", - "polite" : "飲[の]みます", - "polite negative" : "飲[の]みません", - "past" : "飲[の]んだ", - "past negative" : "飲[の]まなかった", - "polite past" : "飲[の]みました", - "polite past negative" : "飲[の]みませんでした", - "te-form" : "飲[の]んで", - "te-form negative" : "飲[の]まなくて", - "potential" : "飲[の]める", - "potential negative" : "飲[の]めない", - "imperative" : "飲[の]め", - "imperative negative" : "飲[の]むな", - "passive" : "飲[の]まれる", - "passive negative" : "飲[の]まれない", - "causative" : "飲[の]ませる", - "causative negative" : "飲[の]ませない", - "causative passive" : "飲[の]ませられる", - "causative passive negative" : "飲[の]ませられない", - "progressive" : "飲[の]んでいる", - "progressive negative" : "飲[の]んでいない", - "polite progressive" : "飲[の]んでいます", - "polite progressive negative" : "飲[の]んでいません", - "progressive past" : "飲[の]んでいた", - "progressive past negative" : "飲[の]んでいなかった", - "polite progressive past" : "飲[の]んでいました", - "polite progressive past negative" : "飲[の]んでいませんでした", + "dictionary": "飲[の]む", + "negative": "飲[の]まない", + "polite": "飲[の]みます", + "polite negative": "飲[の]みません", + "past": "飲[の]んだ", + "past negative": "飲[の]まなかった", + "polite past": "飲[の]みました", + "polite past negative": "飲[の]みませんでした", + "te-form": "飲[の]んで", + "te-form negative": "飲[の]まなくて", + "potential": "飲[の]める", + "potential negative": "飲[の]めない", + "imperative": "飲[の]め", + "imperative negative": "飲[の]むな", + "passive": "飲[の]まれる", + "passive negative": "飲[の]まれない", + "causative": "飲[の]ませる", + "causative negative": "飲[の]ませない", + "causative passive": "飲[の]ませられる", + "causative passive negative": "飲[の]ませられない", + "progressive": "飲[の]んでいる", + "progressive negative": "飲[の]んでいない", + "polite progressive": "飲[の]んでいます", + "polite progressive negative": "飲[の]んでいません", + "progressive past": "飲[の]んでいた", + "progressive past negative": "飲[の]んでいなかった", + "polite progressive past": "飲[の]んでいました", + "polite progressive past negative": "飲[の]んでいませんでした", }, }, - "作る" : { + "作る": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "作[つく]る", - "negative" : "作[つく]らない", - "polite" : "作[つく]ります", - "polite negative" : "作[つく]りません", - "past" : "作[つく]った", - "past negative" : "作[つく]らなかった", - "polite past" : "作[つく]りました", - "polite past negative" : "作[つく]りませんでした", - "te-form" : "作[つく]って", - "te-form negative" : "作[つく]らなくて", - "potential" : "作[つく]れる", - "potential negative" : "作[つく]れない", - "imperative" : "作[つく]れ", - "imperative negative" : "作[つく]るな", - "passive" : "作[つく]られる", - "passive negative" : "作[つく]られない", - "causative" : "作[つく]らせる", - "causative negative" : "作[つく]らせない", - "causative passive" : "作[つく]らせられる", - "causative passive negative" : "作[つく]らせられない", - "progressive" : "作[つく]っている", - "progressive negative" : "作[つく]っていない", - "polite progressive" : "作[つく]っています", - "polite progressive negative" : "作[つく]っていません", - "progressive past" : "作[つく]っていた", - "progressive past negative" : "作[つく]っていなかった", - "polite progressive past" : "作[つく]っていました", - "polite progressive past negative" : "作[つく]っていませんでした", + "dictionary": "作[つく]る", + "negative": "作[つく]らない", + "polite": "作[つく]ります", + "polite negative": "作[つく]りません", + "past": "作[つく]った", + "past negative": "作[つく]らなかった", + "polite past": "作[つく]りました", + "polite past negative": "作[つく]りませんでした", + "te-form": "作[つく]って", + "te-form negative": "作[つく]らなくて", + "potential": "作[つく]れる", + "potential negative": "作[つく]れない", + "imperative": "作[つく]れ", + "imperative negative": "作[つく]るな", + "passive": "作[つく]られる", + "passive negative": "作[つく]られない", + "causative": "作[つく]らせる", + "causative negative": "作[つく]らせない", + "causative passive": "作[つく]らせられる", + "causative passive negative": "作[つく]らせられない", + "progressive": "作[つく]っている", + "progressive negative": "作[つく]っていない", + "polite progressive": "作[つく]っています", + "polite progressive negative": "作[つく]っていません", + "progressive past": "作[つく]っていた", + "progressive past negative": "作[つく]っていなかった", + "polite progressive past": "作[つく]っていました", + "polite progressive past negative": "作[つく]っていませんでした", }, }, - "買い戻す" : { + "買い戻す": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "買[か]い戻[もど]す", - "negative" : "買[か]い戻[もど]さない", - "polite" : "買[か]い戻[もど]します", - "polite negative" : "買[か]い戻[もど]しません", - "past" : "買[か]い戻[もど]した", - "past negative" : "買[か]い戻[もど]さなかった", - "polite past" : "買[か]い戻[もど]しました", - "polite past negative" : "買[か]い戻[もど]しませんでした", - "te-form" : "買[か]い戻[もど]して", - "te-form negative" : "買[か]い戻[もど]さなくて", - "potential" : "買[か]い戻[もど]せる", - "potential negative" : "買[か]い戻[もど]せない", - "imperative" : "買[か]い戻[もど]せ", - "imperative negative" : "買[か]い戻[もど]すな", - "passive" : "買[か]い戻[もど]される", - "passive negative" : "買[か]い戻[もど]されない", - "causative" : "買[か]い戻[もど]させる", - "causative negative" : "買[か]い戻[もど]させない", - "causative passive" : "買[か]い戻[もど]させられる", - "causative passive negative" : "買[か]い戻[もど]させられない", - "progressive" : "買[か]い戻[もど]している", - "progressive negative" : "買[か]い戻[もど]していない", - "polite progressive" : "買[か]い戻[もど]しています", - "polite progressive negative" : "買[か]い戻[もど]していません", - "progressive past" : "買[か]い戻[もど]していた", - "progressive past negative" : "買[か]い戻[もど]していなかった", - "polite progressive past" : "買[か]い戻[もど]していました", - "polite progressive past negative" : "買[か]い戻[もど]していませんでした", + "dictionary": "買[か]い戻[もど]す", + "negative": "買[か]い戻[もど]さない", + "polite": "買[か]い戻[もど]します", + "polite negative": "買[か]い戻[もど]しません", + "past": "買[か]い戻[もど]した", + "past negative": "買[か]い戻[もど]さなかった", + "polite past": "買[か]い戻[もど]しました", + "polite past negative": "買[か]い戻[もど]しませんでした", + "te-form": "買[か]い戻[もど]して", + "te-form negative": "買[か]い戻[もど]さなくて", + "potential": "買[か]い戻[もど]せる", + "potential negative": "買[か]い戻[もど]せない", + "imperative": "買[か]い戻[もど]せ", + "imperative negative": "買[か]い戻[もど]すな", + "passive": "買[か]い戻[もど]される", + "passive negative": "買[か]い戻[もど]されない", + "causative": "買[か]い戻[もど]させる", + "causative negative": "買[か]い戻[もど]させない", + "causative passive": "買[か]い戻[もど]させられる", + "causative passive negative": "買[か]い戻[もど]させられない", + "progressive": "買[か]い戻[もど]している", + "progressive negative": "買[か]い戻[もど]していない", + "polite progressive": "買[か]い戻[もど]しています", + "polite progressive negative": "買[か]い戻[もど]していません", + "progressive past": "買[か]い戻[もど]していた", + "progressive past negative": "買[か]い戻[もど]していなかった", + "polite progressive past": "買[か]い戻[もど]していました", + "polite progressive past negative": "買[か]い戻[もど]していませんでした", }, }, - "見る" : { + "見る": { - "group" : "ichidan", + "group": "ichidan", - "conjugations" : { + "conjugations": { - "dictionary" : "見[み]る", - "negative" : "見[み]ない", - "polite" : "見[み]ます", - "polite negative" : "見[み]ません", - "past" : "見[み]た", - "past negative" : "見[み]なかった", - "polite past" : "見[み]ました", - "polite past negative" : "見[み]ませんでした", - "te-form" : "見[み]て", - "te-form negative" : "見[み]なくて", - "potential" : "見[み]られる", - "potential negative" : "見[み]られない", - "imperative" : "見[み]ろ", - "imperative negative" : "見[み]るな", - "passive" : "見[み]られる", - "passive negative" : "見[み]られない", - "causative" : "見[み]させる", - "causative negative" : "見[み]させない", - "causative passive" : "見[み]させられる", - "causative passive negative" : "見[み]させられない", - "progressive" : "見[み]ている", - "progressive negative" : "見[み]ていない", - "polite progressive" : "見[み]ています", - "polite progressive negative" : "見[み]ていません", - "progressive past" : "見[み]ていた", - "progressive past negative" : "見[み]ていなかった", - "polite progressive past" : "見[み]ていました", - "polite progressive past negative" : "見[み]ていませんでした", + "dictionary": "見[み]る", + "negative": "見[み]ない", + "polite": "見[み]ます", + "polite negative": "見[み]ません", + "past": "見[み]た", + "past negative": "見[み]なかった", + "polite past": "見[み]ました", + "polite past negative": "見[み]ませんでした", + "te-form": "見[み]て", + "te-form negative": "見[み]なくて", + "potential": "見[み]られる", + "potential negative": "見[み]られない", + "imperative": "見[み]ろ", + "imperative negative": "見[み]るな", + "passive": "見[み]られる", + "passive negative": "見[み]られない", + "causative": "見[み]させる", + "causative negative": "見[み]させない", + "causative passive": "見[み]させられる", + "causative passive negative": "見[み]させられない", + "progressive": "見[み]ている", + "progressive negative": "見[み]ていない", + "polite progressive": "見[み]ています", + "polite progressive negative": "見[み]ていません", + "progressive past": "見[み]ていた", + "progressive past negative": "見[み]ていなかった", + "polite progressive past": "見[み]ていました", + "polite progressive past negative": "見[み]ていませんでした", }, }, - "食べる" : { + "食べる": { - "group" : "ichidan", + "group": "ichidan", - "conjugations" : { + "conjugations": { - "dictionary" : "食[た]べる", - "negative" : "食[た]べない", - "polite" : "食[た]べます", - "polite negative" : "食[た]べません", - "past" : "食[た]べた", - "past negative" : "食[た]べなかった", - "polite past" : "食[た]べました", - "polite past negative" : "食[た]べませんでした", - "te-form" : "食[た]べて", - "te-form negative" : "食[た]べなくて", - "potential" : "食[た]べられる", - "potential negative" : "食[た]べられない", - "imperative" : "食[た]べろ", - "imperative negative" : "食[た]べるな", - "passive" : "食[た]べられる", - "passive negative" : "食[た]べられない", - "causative" : "食[た]べさせる", - "causative negative" : "食[た]べさせない", - "causative passive" : "食[た]べさせられる", - "causative passive negative" : "食[た]べさせられない", - "progressive" : "食[た]べている", - "progressive negative" : "食[た]べていない", - "polite progressive" : "食[た]べています", - "polite progressive negative" : "食[た]べていません", - "progressive past" : "食[た]べていた", - "progressive past negative" : "食[た]べていなかった", - "polite progressive past" : "食[た]べていました", - "polite progressive past negative" : "食[た]べていませんでした", + "dictionary": "食[た]べる", + "negative": "食[た]べない", + "polite": "食[た]べます", + "polite negative": "食[た]べません", + "past": "食[た]べた", + "past negative": "食[た]べなかった", + "polite past": "食[た]べました", + "polite past negative": "食[た]べませんでした", + "te-form": "食[た]べて", + "te-form negative": "食[た]べなくて", + "potential": "食[た]べられる", + "potential negative": "食[た]べられない", + "imperative": "食[た]べろ", + "imperative negative": "食[た]べるな", + "passive": "食[た]べられる", + "passive negative": "食[た]べられない", + "causative": "食[た]べさせる", + "causative negative": "食[た]べさせない", + "causative passive": "食[た]べさせられる", + "causative passive negative": "食[た]べさせられない", + "progressive": "食[た]べている", + "progressive negative": "食[た]べていない", + "polite progressive": "食[た]べています", + "polite progressive negative": "食[た]べていません", + "progressive past": "食[た]べていた", + "progressive past negative": "食[た]べていなかった", + "polite progressive past": "食[た]べていました", + "polite progressive past negative": "食[た]べていませんでした", }, }, - "起きる" : { + "起きる": { - "group" : "ichidan", + "group": "ichidan", - "conjugations" : { + "conjugations": { - "dictionary" : "起[お]きる", - "negative" : "起[お]きない", - "polite" : "起[お]きます", - "polite negative" : "起[お]きません", - "past" : "起[お]きた", - "past negative" : "起[お]きなかった", - "polite past" : "起[お]きました", - "polite past negative" : "起[お]きませんでした", - "te-form" : "起[お]きて", - "te-form negative" : "起[お]きなくて", - "potential" : "起[お]きられる", - "potential negative" : "起[お]きられない", - "imperative" : "起[お]きろ", - "imperative negative" : "起[お]きるな", - "passive" : "起[お]きられる", - "passive negative" : "起[お]きられない", - "causative" : "起[お]きさせる", - "causative negative" : "起[お]きさせない", - "causative passive" : "起[お]きさせられる", - "causative passive negative" : "起[お]きさせられない", - "progressive" : "起[お]きている", - "progressive negative" : "起[お]きていない", - "polite progressive" : "起[お]きています", - "polite progressive negative" : "起[お]きていません", - "progressive past" : "起[お]きていた", - "progressive past negative" : "起[お]きていなかった", - "polite progressive past" : "起[お]きていました", - "polite progressive past negative" : "起[お]きていませんでした", + "dictionary": "起[お]きる", + "negative": "起[お]きない", + "polite": "起[お]きます", + "polite negative": "起[お]きません", + "past": "起[お]きた", + "past negative": "起[お]きなかった", + "polite past": "起[お]きました", + "polite past negative": "起[お]きませんでした", + "te-form": "起[お]きて", + "te-form negative": "起[お]きなくて", + "potential": "起[お]きられる", + "potential negative": "起[お]きられない", + "imperative": "起[お]きろ", + "imperative negative": "起[お]きるな", + "passive": "起[お]きられる", + "passive negative": "起[お]きられない", + "causative": "起[お]きさせる", + "causative negative": "起[お]きさせない", + "causative passive": "起[お]きさせられる", + "causative passive negative": "起[お]きさせられない", + "progressive": "起[お]きている", + "progressive negative": "起[お]きていない", + "polite progressive": "起[お]きています", + "polite progressive negative": "起[お]きていません", + "progressive past": "起[お]きていた", + "progressive past negative": "起[お]きていなかった", + "polite progressive past": "起[お]きていました", + "polite progressive past negative": "起[お]きていませんでした", }, }, - "買い換える" : { + "買い換える": { - "group" : "ichidan", + "group": "ichidan", - "conjugations" : { + "conjugations": { - "dictionary" : "買[か]い換[か]える", - "negative" : "買[か]い換[か]えない", - "polite" : "買[か]い換[か]えます", - "polite negative" : "買[か]い換[か]えません", - "past" : "買[か]い換[か]えた", - "past negative" : "買[か]い換[か]えなかった", - "polite past" : "買[か]い換[か]えました", - "polite past negative" : "買[か]い換[か]えませんでした", - "te-form" : "買[か]い換[か]えて", - "te-form negative" : "買[か]い換[か]えなくて", - "potential" : "買[か]い換[か]えられる", - "potential negative" : "買[か]い換[か]えられない", - "imperative" : "買[か]い換[か]えろ", - "imperative negative" : "買[か]い換[か]えるな", - "passive" : "買[か]い換[か]えられる", - "passive negative" : "買[か]い換[か]えられない", - "causative" : "買[か]い換[か]えさせる", - "causative negative" : "買[か]い換[か]えさせない", - "causative passive" : "買[か]い換[か]えさせられる", - "causative passive negative" : "買[か]い換[か]えさせられない", - "progressive" : "買[か]い換[か]えている", - "progressive negative" : "買[か]い換[か]えていない", - "polite progressive" : "買[か]い換[か]えています", - "polite progressive negative" : "買[か]い換[か]えていません", - "progressive past" : "買[か]い換[か]えていた", - "progressive past negative" : "買[か]い換[か]えていなかった", - "polite progressive past" : "買[か]い換[か]えていました", - "polite progressive past negative" : "買[か]い換[か]えていませんでした", + "dictionary": "買[か]い換[か]える", + "negative": "買[か]い換[か]えない", + "polite": "買[か]い換[か]えます", + "polite negative": "買[か]い換[か]えません", + "past": "買[か]い換[か]えた", + "past negative": "買[か]い換[か]えなかった", + "polite past": "買[か]い換[か]えました", + "polite past negative": "買[か]い換[か]えませんでした", + "te-form": "買[か]い換[か]えて", + "te-form negative": "買[か]い換[か]えなくて", + "potential": "買[か]い換[か]えられる", + "potential negative": "買[か]い換[か]えられない", + "imperative": "買[か]い換[か]えろ", + "imperative negative": "買[か]い換[か]えるな", + "passive": "買[か]い換[か]えられる", + "passive negative": "買[か]い換[か]えられない", + "causative": "買[か]い換[か]えさせる", + "causative negative": "買[か]い換[か]えさせない", + "causative passive": "買[か]い換[か]えさせられる", + "causative passive negative": "買[か]い換[か]えさせられない", + "progressive": "買[か]い換[か]えている", + "progressive negative": "買[か]い換[か]えていない", + "polite progressive": "買[か]い換[か]えています", + "polite progressive negative": "買[か]い換[か]えていません", + "progressive past": "買[か]い換[か]えていた", + "progressive past negative": "買[か]い換[か]えていなかった", + "polite progressive past": "買[か]い換[か]えていました", + "polite progressive past negative": "買[か]い換[か]えていませんでした", }, }, - "来る" : { + "来る": { - "group" : "kuru", + "group": "kuru", - "conjugations" : { + "conjugations": { - "dictionary" : "来[く]る", - "negative" : "来[こ]ない", - "polite" : "来[き]ます", - "polite negative" : "来[き]ません", - "past" : "来[き]た", - "past negative" : "来[こ]なかった", - "polite past" : "来[き]ました", - "polite past negative" : "来[き]ませんでした", - "te-form" : "来[き]て", - "te-form negative" : "来[こ]なくて", - "potential" : "来[こ]られる", - "potential negative" : "来[こ]られない", - "imperative" : "来[こ]い", - "imperative negative" : "来[く]るな", - "passive" : "来[こ]られる", - "passive negative" : "来[こ]られない", - "causative" : "来[こ]させる", - "causative negative" : "来[こ]させない", - "causative passive" : "来[こ]させられる", - "causative passive negative" : "来[こ]させられない", - "progressive" : "来[き]ている", - "progressive negative" : "来[き]ていない", - "polite progressive" : "来[き]ています", - "polite progressive negative" : "来[き]ていません", - "progressive past" : "来[き]ていた", - "progressive past negative" : "来[き]ていなかった", - "polite progressive past" : "来[き]ていました", - "polite progressive past negative" : "来[き]ていませんでした", + "dictionary": "来[く]る", + "negative": "来[こ]ない", + "polite": "来[き]ます", + "polite negative": "来[き]ません", + "past": "来[き]た", + "past negative": "来[こ]なかった", + "polite past": "来[き]ました", + "polite past negative": "来[き]ませんでした", + "te-form": "来[き]て", + "te-form negative": "来[こ]なくて", + "potential": "来[こ]られる", + "potential negative": "来[こ]られない", + "imperative": "来[こ]い", + "imperative negative": "来[く]るな", + "passive": "来[こ]られる", + "passive negative": "来[こ]られない", + "causative": "来[こ]させる", + "causative negative": "来[こ]させない", + "causative passive": "来[こ]させられる", + "causative passive negative": "来[こ]させられない", + "progressive": "来[き]ている", + "progressive negative": "来[き]ていない", + "polite progressive": "来[き]ています", + "polite progressive negative": "来[き]ていません", + "progressive past": "来[き]ていた", + "progressive past negative": "来[き]ていなかった", + "polite progressive past": "来[き]ていました", + "polite progressive past negative": "来[き]ていませんでした", }, }, - "する" : { + "する": { - "group" : "suru", + "group": "suru", - "conjugations" : { + "conjugations": { - "dictionary" : "する", - "negative" : "しない", - "polite" : "します", - "polite negative" : "しません", - "past" : "した", - "past negative" : "しなかった", - "polite past" : "しました", - "polite past negative" : "しませんでした", - "imperative" : "しろ", - "imperative negative" : "さるな", - "progressive" : "している", - "progressive negative" : "していない", - "polite progressive" : "しています", - "polite progressive negative" : "していません", - "progressive past" : "していた", - "progressive past negative" : "していなかった", - "polite progressive past" : "していました", - "polite progressive past negative" : "していませんでした", + "dictionary": "する", + "negative": "しない", + "polite": "します", + "polite negative": "しません", + "past": "した", + "past negative": "しなかった", + "polite past": "しました", + "polite past negative": "しませんでした", + "imperative": "しろ", + "imperative negative": "さるな", + "progressive": "している", + "progressive negative": "していない", + "polite progressive": "しています", + "polite progressive negative": "していません", + "progressive past": "していた", + "progressive past negative": "していなかった", + "polite progressive past": "していました", + "polite progressive past negative": "していませんでした", }, }, - "勉強する" : { + "勉強する": { - "group" : "suru", + "group": "suru", - "conjugations" : { + "conjugations": { - "dictionary" : "勉[べん]強[きょう]する", - "negative" : "勉[べん]強[きょう]しない", - "polite" : "勉[べん]強[きょう]します", - "polite negative" : "勉[べん]強[きょう]しません", - "past" : "勉[べん]強[きょう]した", - "past negative" : "勉[べん]強[きょう]しなかった", - "polite past" : "勉[べん]強[きょう]しました", - "polite past negative" : "勉[べん]強[きょう]しませんでした", - "imperative" : "勉[べん]強[きょう]しろ", - "imperative negative" : "勉[べん]強[きょう]さるな", - "progressive" : "勉[べん]強[きょう]している", - "progressive negative" : "勉[べん]強[きょう]していない", - "polite progressive" : "勉[べん]強[きょう]しています", - "polite progressive negative" : "勉[べん]強[きょう]していません", - "progressive past" : "勉[べん]強[きょう]していた", - "progressive past negative" : "勉[べん]強[きょう]していなかった", - "polite progressive past" : "勉[べん]強[きょう]していました", - "polite progressive past negative" : "勉[べん]強[きょう]していませんでした", + "dictionary": "勉[べん]強[きょう]する", + "negative": "勉[べん]強[きょう]しない", + "polite": "勉[べん]強[きょう]します", + "polite negative": "勉[べん]強[きょう]しません", + "past": "勉[べん]強[きょう]した", + "past negative": "勉[べん]強[きょう]しなかった", + "polite past": "勉[べん]強[きょう]しました", + "polite past negative": "勉[べん]強[きょう]しませんでした", + "imperative": "勉[べん]強[きょう]しろ", + "imperative negative": "勉[べん]強[きょう]さるな", + "progressive": "勉[べん]強[きょう]している", + "progressive negative": "勉[べん]強[きょう]していない", + "polite progressive": "勉[べん]強[きょう]しています", + "polite progressive negative": "勉[べん]強[きょう]していません", + "progressive past": "勉[べん]強[きょう]していた", + "progressive past negative": "勉[べん]強[きょう]していなかった", + "polite progressive past": "勉[べん]強[きょう]していました", + "polite progressive past negative": "勉[べん]強[きょう]していませんでした", }, }, - "電話する" : { + "電話する": { - "group" : "suru", + "group": "suru", - "conjugations" : { + "conjugations": { - "dictionary" : "電[でん]話[わ]する", - "negative" : "電[でん]話[わ]しない", - "polite" : "電[でん]話[わ]します", - "polite negative" : "電[でん]話[わ]しません", - "past" : "電[でん]話[わ]した", - "past negative" : "電[でん]話[わ]しなかった", - "polite past" : "電[でん]話[わ]しました", - "polite past negative" : "電[でん]話[わ]しませんでした", - "imperative" : "電[でん]話[わ]しろ", - "imperative negative" : "電[でん]話[わ]さるな", - "progressive" : "電[でん]話[わ]している", - "progressive negative" : "電[でん]話[わ]していない", - "polite progressive" : "電[でん]話[わ]しています", - "polite progressive negative" : "電[でん]話[わ]していません", - "progressive past" : "電[でん]話[わ]していた", - "progressive past negative" : "電[でん]話[わ]していなかった", - "polite progressive past" : "電[でん]話[わ]していました", - "polite progressive past negative" : "電[でん]話[わ]していませんでした", + "dictionary": "電[でん]話[わ]する", + "negative": "電[でん]話[わ]しない", + "polite": "電[でん]話[わ]します", + "polite negative": "電[でん]話[わ]しません", + "past": "電[でん]話[わ]した", + "past negative": "電[でん]話[わ]しなかった", + "polite past": "電[でん]話[わ]しました", + "polite past negative": "電[でん]話[わ]しませんでした", + "imperative": "電[でん]話[わ]しろ", + "imperative negative": "電[でん]話[わ]さるな", + "progressive": "電[でん]話[わ]している", + "progressive negative": "電[でん]話[わ]していない", + "polite progressive": "電[でん]話[わ]しています", + "polite progressive negative": "電[でん]話[わ]していません", + "progressive past": "電[でん]話[わ]していた", + "progressive past negative": "電[でん]話[わ]していなかった", + "polite progressive past": "電[でん]話[わ]していました", + "polite progressive past negative": "電[でん]話[わ]していませんでした", }, }, - "読む" : { + "読む": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "読[よ]む", - "negative" : "読[よ]まない", - "polite" : "読[よ]みます", - "polite negative" : "読[よ]みません", - "past" : "読[よ]んだ", - "past negative" : "読[よ]まなかった", - "polite past" : "読[よ]みました", - "polite past negative" : "読[よ]みませんでした", - "te-form" : "読[よ]んで", - "te-form negative" : "読[よ]まなくて", - "potential" : "読[よ]める", - "potential negative" : "読[よ]めない", - "imperative" : "読[よ]め", - "imperative negative" : "読[よ]むな", - "passive" : "読[よ]まれる", - "passive negative" : "読[よ]まれない", - "causative" : "読[よ]ませる", - "causative negative" : "読[よ]ませない", - "causative passive" : "読[よ]ませられる", - "causative passive negative" : "読[よ]ませられない", - "progressive" : "読[よ]んでいる", - "progressive negative" : "読[よ]んでいない", - "polite progressive" : "読[よ]んでいます", - "polite progressive negative" : "読[よ]んでいません", - "progressive past" : "読[よ]んでいた", - "progressive past negative" : "読[よ]んでいなかった", - "polite progressive past" : "読[よ]んでいました", - "polite progressive past negative" : "読[よ]んでいませんでした", + "dictionary": "読[よ]む", + "negative": "読[よ]まない", + "polite": "読[よ]みます", + "polite negative": "読[よ]みません", + "past": "読[よ]んだ", + "past negative": "読[よ]まなかった", + "polite past": "読[よ]みました", + "polite past negative": "読[よ]みませんでした", + "te-form": "読[よ]んで", + "te-form negative": "読[よ]まなくて", + "potential": "読[よ]める", + "potential negative": "読[よ]めない", + "imperative": "読[よ]め", + "imperative negative": "読[よ]むな", + "passive": "読[よ]まれる", + "passive negative": "読[よ]まれない", + "causative": "読[よ]ませる", + "causative negative": "読[よ]ませない", + "causative passive": "読[よ]ませられる", + "causative passive negative": "読[よ]ませられない", + "progressive": "読[よ]んでいる", + "progressive negative": "読[よ]んでいない", + "polite progressive": "読[よ]んでいます", + "polite progressive negative": "読[よ]んでいません", + "progressive past": "読[よ]んでいた", + "progressive past negative": "読[よ]んでいなかった", + "polite progressive past": "読[よ]んでいました", + "polite progressive past negative": "読[よ]んでいませんでした", }, }, - "思う" : { + "思う": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "思[おも]う", - "negative" : "思[おも]わない", - "polite" : "思[おも]います", - "polite negative" : "思[おも]いません", - "past" : "思[おも]った", - "past negative" : "思[おも]わなかった", - "polite past" : "思[おも]いました", - "polite past negative" : "思[おも]いませんでした", - "te-form" : "思[おも]って", - "te-form negative" : "思[おも]わなくて", - "potential" : "思[おも]える", - "potential negative" : "思[おも]えない", - "imperative" : "思[おも]え", - "imperative negative" : "思[おも]うな", - "passive" : "思[おも]われる", - "passive negative" : "思[おも]われない", - "causative" : "思[おも]わせる", - "causative negative" : "思[おも]わせない", - "causative passive" : "思[おも]わせられる", - "causative passive negative" : "思[おも]わせられない", - "progressive" : "思[おも]っている", - "progressive negative" : "思[おも]っていない", - "polite progressive" : "思[おも]っています", - "polite progressive negative" : "思[おも]っていません", - "progressive past" : "思[おも]っていた", - "progressive past negative" : "思[おも]っていなかった", - "polite progressive past" : "思[おも]っていました", - "polite progressive past negative" : "思[おも]っていませんでした", + "dictionary": "思[おも]う", + "negative": "思[おも]わない", + "polite": "思[おも]います", + "polite negative": "思[おも]いません", + "past": "思[おも]った", + "past negative": "思[おも]わなかった", + "polite past": "思[おも]いました", + "polite past negative": "思[おも]いませんでした", + "te-form": "思[おも]って", + "te-form negative": "思[おも]わなくて", + "potential": "思[おも]える", + "potential negative": "思[おも]えない", + "imperative": "思[おも]え", + "imperative negative": "思[おも]うな", + "passive": "思[おも]われる", + "passive negative": "思[おも]われない", + "causative": "思[おも]わせる", + "causative negative": "思[おも]わせない", + "causative passive": "思[おも]わせられる", + "causative passive negative": "思[おも]わせられない", + "progressive": "思[おも]っている", + "progressive negative": "思[おも]っていない", + "polite progressive": "思[おも]っています", + "polite progressive negative": "思[おも]っていません", + "progressive past": "思[おも]っていた", + "progressive past negative": "思[おも]っていなかった", + "polite progressive past": "思[おも]っていました", + "polite progressive past negative": "思[おも]っていませんでした", }, }, - "買い与える" : { + "買い与える": { - "group" : "ichidan", + "group": "ichidan", - "conjugations" : { + "conjugations": { - "dictionary" : "買[か]い与[あた]える", - "negative" : "買[か]い与[あた]えない", - "polite" : "買[か]い与[あた]えます", - "polite negative" : "買[か]い与[あた]えません", - "past" : "買[か]い与[あた]えた", - "past negative" : "買[か]い与[あた]えなかった", - "polite past" : "買[か]い与[あた]えました", - "polite past negative" : "買[か]い与[あた]えませんでした", - "te-form" : "買[か]い与[あた]えて", - "te-form negative" : "買[か]い与[あた]えなくて", - "potential" : "買[か]い与[あた]えられる", - "potential negative" : "買[か]い与[あた]えられない", - "imperative" : "買[か]い与[あた]えろ", - "imperative negative" : "買[か]い与[あた]えるな", - "passive" : "買[か]い与[あた]えられる", - "passive negative" : "買[か]い与[あた]えられない", - "causative" : "買[か]い与[あた]えさせる", - "causative negative" : "買[か]い与[あた]えさせない", - "causative passive" : "買[か]い与[あた]えさせられる", - "causative passive negative" : "買[か]い与[あた]えさせられない", - "progressive" : "買[か]い与[あた]えている", - "progressive negative" : "買[か]い与[あた]えていない", - "polite progressive" : "買[か]い与[あた]えています", - "polite progressive negative" : "買[か]い与[あた]えていません", - "progressive past" : "買[か]い与[あた]えていた", - "progressive past negative" : "買[か]い与[あた]えていなかった", - "polite progressive past" : "買[か]い与[あた]えていました", - "polite progressive past negative" : "買[か]い与[あた]えていませんでした", + "dictionary": "買[か]い与[あた]える", + "negative": "買[か]い与[あた]えない", + "polite": "買[か]い与[あた]えます", + "polite negative": "買[か]い与[あた]えません", + "past": "買[か]い与[あた]えた", + "past negative": "買[か]い与[あた]えなかった", + "polite past": "買[か]い与[あた]えました", + "polite past negative": "買[か]い与[あた]えませんでした", + "te-form": "買[か]い与[あた]えて", + "te-form negative": "買[か]い与[あた]えなくて", + "potential": "買[か]い与[あた]えられる", + "potential negative": "買[か]い与[あた]えられない", + "imperative": "買[か]い与[あた]えろ", + "imperative negative": "買[か]い与[あた]えるな", + "passive": "買[か]い与[あた]えられる", + "passive negative": "買[か]い与[あた]えられない", + "causative": "買[か]い与[あた]えさせる", + "causative negative": "買[か]い与[あた]えさせない", + "causative passive": "買[か]い与[あた]えさせられる", + "causative passive negative": "買[か]い与[あた]えさせられない", + "progressive": "買[か]い与[あた]えている", + "progressive negative": "買[か]い与[あた]えていない", + "polite progressive": "買[か]い与[あた]えています", + "polite progressive negative": "買[か]い与[あた]えていません", + "progressive past": "買[か]い与[あた]えていた", + "progressive past negative": "買[か]い与[あた]えていなかった", + "polite progressive past": "買[か]い与[あた]えていました", + "polite progressive past negative": "買[か]い与[あた]えていませんでした", }, }, - "座る" : { + "座る": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "座[すわ]る", - "negative" : "座[すわ]らない", - "polite" : "座[すわ]ります", - "polite negative" : "座[すわ]りません", - "past" : "座[すわ]った", - "past negative" : "座[すわ]らなかった", - "polite past" : "座[すわ]りました", - "polite past negative" : "座[すわ]りませんでした", - "te-form" : "座[すわ]って", - "te-form negative" : "座[すわ]らなくて", - "potential" : "座[すわ]れる", - "potential negative" : "座[すわ]れない", - "imperative" : "座[すわ]れ", - "imperative negative" : "座[すわ]るな", - "passive" : "座[すわ]られる", - "passive negative" : "座[すわ]られない", - "causative" : "座[すわ]らせる", - "causative negative" : "座[すわ]らせない", - "causative passive" : "座[すわ]らせられる", - "causative passive negative" : "座[すわ]らせられない", - "progressive" : "座[すわ]っている", - "progressive negative" : "座[すわ]っていない", - "polite progressive" : "座[すわ]っています", - "polite progressive negative" : "座[すわ]っていません", - "progressive past" : "座[すわ]っていた", - "progressive past negative" : "座[すわ]っていなかった", - "polite progressive past" : "座[すわ]っていました", - "polite progressive past negative" : "座[すわ]っていませんでした", + "dictionary": "座[すわ]る", + "negative": "座[すわ]らない", + "polite": "座[すわ]ります", + "polite negative": "座[すわ]りません", + "past": "座[すわ]った", + "past negative": "座[すわ]らなかった", + "polite past": "座[すわ]りました", + "polite past negative": "座[すわ]りませんでした", + "te-form": "座[すわ]って", + "te-form negative": "座[すわ]らなくて", + "potential": "座[すわ]れる", + "potential negative": "座[すわ]れない", + "imperative": "座[すわ]れ", + "imperative negative": "座[すわ]るな", + "passive": "座[すわ]られる", + "passive negative": "座[すわ]られない", + "causative": "座[すわ]らせる", + "causative negative": "座[すわ]らせない", + "causative passive": "座[すわ]らせられる", + "causative passive negative": "座[すわ]らせられない", + "progressive": "座[すわ]っている", + "progressive negative": "座[すわ]っていない", + "polite progressive": "座[すわ]っています", + "polite progressive negative": "座[すわ]っていません", + "progressive past": "座[すわ]っていた", + "progressive past negative": "座[すわ]っていなかった", + "polite progressive past": "座[すわ]っていました", + "polite progressive past negative": "座[すわ]っていませんでした", }, }, - "休む" : { + "休む": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "休[やす]む", - "negative" : "休[やす]まない", - "polite" : "休[やす]みます", - "polite negative" : "休[やす]みません", - "past" : "休[やす]んだ", - "past negative" : "休[やす]まなかった", - "polite past" : "休[やす]みました", - "polite past negative" : "休[やす]みませんでした", - "te-form" : "休[やす]んで", - "te-form negative" : "休[やす]まなくて", - "potential" : "休[やす]める", - "potential negative" : "休[やす]めない", - "imperative" : "休[やす]め", - "imperative negative" : "休[やす]むな", - "passive" : "休[やす]まれる", - "passive negative" : "休[やす]まれない", - "causative" : "休[やす]ませる", - "causative negative" : "休[やす]ませない", - "causative passive" : "休[やす]ませられる", - "causative passive negative" : "休[やす]ませられない", - "progressive" : "休[やす]んでいる", - "progressive negative" : "休[やす]んでいない", - "polite progressive" : "休[やす]んでいます", - "polite progressive negative" : "休[やす]んでいません", - "progressive past" : "休[やす]んでいた", - "progressive past negative" : "休[やす]んでいなかった", - "polite progressive past" : "休[やす]んでいました", - "polite progressive past negative" : "休[やす]んでいませんでした", + "dictionary": "休[やす]む", + "negative": "休[やす]まない", + "polite": "休[やす]みます", + "polite negative": "休[やす]みません", + "past": "休[やす]んだ", + "past negative": "休[やす]まなかった", + "polite past": "休[やす]みました", + "polite past negative": "休[やす]みませんでした", + "te-form": "休[やす]んで", + "te-form negative": "休[やす]まなくて", + "potential": "休[やす]める", + "potential negative": "休[やす]めない", + "imperative": "休[やす]め", + "imperative negative": "休[やす]むな", + "passive": "休[やす]まれる", + "passive negative": "休[やす]まれない", + "causative": "休[やす]ませる", + "causative negative": "休[やす]ませない", + "causative passive": "休[やす]ませられる", + "causative passive negative": "休[やす]ませられない", + "progressive": "休[やす]んでいる", + "progressive negative": "休[やす]んでいない", + "polite progressive": "休[やす]んでいます", + "polite progressive negative": "休[やす]んでいません", + "progressive past": "休[やす]んでいた", + "progressive past negative": "休[やす]んでいなかった", + "polite progressive past": "休[やす]んでいました", + "polite progressive past negative": "休[やす]んでいませんでした", }, }, - "足す" : { + "足す": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "足[た]す", - "negative" : "足[た]さない", - "polite" : "足[た]します", - "polite negative" : "足[た]しません", - "past" : "足[た]した", - "past negative" : "足[た]さなかった", - "polite past" : "足[た]しました", - "polite past negative" : "足[た]しませんでした", - "te-form" : "足[た]して", - "te-form negative" : "足[た]さなくて", - "potential" : "足[た]せる", - "potential negative" : "足[た]せない", - "imperative" : "足[た]せ", - "imperative negative" : "足[た]すな", - "passive" : "足[た]される", - "passive negative" : "足[た]されない", - "causative" : "足[た]させる", - "causative negative" : "足[た]させない", - "causative passive" : "足[た]させられる", - "causative passive negative" : "足[た]させられない", - "progressive" : "足[た]している", - "progressive negative" : "足[た]していない", - "polite progressive" : "足[た]しています", - "polite progressive negative" : "足[た]していません", - "progressive past" : "足[た]していた", - "progressive past negative" : "足[た]していなかった", - "polite progressive past" : "足[た]していました", - "polite progressive past negative" : "足[た]していませんでした", + "dictionary": "足[た]す", + "negative": "足[た]さない", + "polite": "足[た]します", + "polite negative": "足[た]しません", + "past": "足[た]した", + "past negative": "足[た]さなかった", + "polite past": "足[た]しました", + "polite past negative": "足[た]しませんでした", + "te-form": "足[た]して", + "te-form negative": "足[た]さなくて", + "potential": "足[た]せる", + "potential negative": "足[た]せない", + "imperative": "足[た]せ", + "imperative negative": "足[た]すな", + "passive": "足[た]される", + "passive negative": "足[た]されない", + "causative": "足[た]させる", + "causative negative": "足[た]させない", + "causative passive": "足[た]させられる", + "causative passive negative": "足[た]させられない", + "progressive": "足[た]している", + "progressive negative": "足[た]していない", + "polite progressive": "足[た]しています", + "polite progressive negative": "足[た]していません", + "progressive past": "足[た]していた", + "progressive past negative": "足[た]していなかった", + "polite progressive past": "足[た]していました", + "polite progressive past negative": "足[た]していませんでした", }, }, - "歌う" : { + "歌う": { - "group" : "godan", + "group": "godan", - "conjugations" : { + "conjugations": { - "dictionary" : "歌[うた]う", - "negative" : "歌[うた]わない", - "polite" : "歌[うた]います", - "polite negative" : "歌[うた]いません", - "past" : "歌[うた]った", - "past negative" : "歌[うた]わなかった", - "polite past" : "歌[うた]いました", - "polite past negative" : "歌[うた]いませんでした", - "te-form" : "歌[うた]って", - "te-form negative" : "歌[うた]わなくて", - "potential" : "歌[うた]える", - "potential negative" : "歌[うた]えない", - "imperative" : "歌[うた]え", - "imperative negative" : "歌[うた]うな", - "passive" : "歌[うた]われる", - "passive negative" : "歌[うた]われない", - "causative" : "歌[うた]わせる", - "causative negative" : "歌[うた]わせない", - "causative passive" : "歌[うた]わせられる", - "causative passive negative" : "歌[うた]わせられない", - "progressive" : "歌[うた]っている", - "progressive negative" : "歌[うた]っていない", - "polite progressive" : "歌[うた]っています", - "polite progressive negative" : "歌[うた]っていません", - "progressive past" : "歌[うた]っていた", - "progressive past negative" : "歌[うた]っていなかった", - "polite progressive past" : "歌[うた]っていました", - "polite progressive past negative" : "歌[うた]っていませんでした", + "dictionary": "歌[うた]う", + "negative": "歌[うた]わない", + "polite": "歌[うた]います", + "polite negative": "歌[うた]いません", + "past": "歌[うた]った", + "past negative": "歌[うた]わなかった", + "polite past": "歌[うた]いました", + "polite past negative": "歌[うた]いませんでした", + "te-form": "歌[うた]って", + "te-form negative": "歌[うた]わなくて", + "potential": "歌[うた]える", + "potential negative": "歌[うた]えない", + "imperative": "歌[うた]え", + "imperative negative": "歌[うた]うな", + "passive": "歌[うた]われる", + "passive negative": "歌[うた]われない", + "causative": "歌[うた]わせる", + "causative negative": "歌[うた]わせない", + "causative passive": "歌[うた]わせられる", + "causative passive negative": "歌[うた]わせられない", + "progressive": "歌[うた]っている", + "progressive negative": "歌[うた]っていない", + "polite progressive": "歌[うた]っています", + "polite progressive negative": "歌[うた]っていません", + "progressive past": "歌[うた]っていた", + "progressive past negative": "歌[うた]っていなかった", + "polite progressive past": "歌[うた]っていました", + "polite progressive past negative": "歌[うた]っていませんでした", }, }, - "高い" : { + "高い": { - "group" : "i-adjective", + "group": "i-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "高[たか]い", - "negative" : "高[たか]くない", - "polite" : "高[たか]いです", - "polite negative" : "高[たか]くないです", - "past" : "高[たか]かった", - "past negative" : "高[たか]くなかった", - "polite past" : "高[たか]かったです", - "polite past negative" : "高[たか]くなかったです", + "dictionary": "高[たか]い", + "negative": "高[たか]くない", + "polite": "高[たか]いです", + "polite negative": "高[たか]くないです", + "past": "高[たか]かった", + "past negative": "高[たか]くなかった", + "polite past": "高[たか]かったです", + "polite past negative": "高[たか]くなかったです", }, }, - "面白い" : { + "面白い": { - "group" : "i-adjective", + "group": "i-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "面[おも]白[しろ]い", - "negative" : "面[おも]白[しろ]くない", - "polite" : "面[おも]白[しろ]いです", - "polite negative" : "面[おも]白[しろ]くないです", - "past" : "面[おも]白[しろ]かった", - "past negative" : "面[おも]白[しろ]くなかった", - "polite past" : "面[おも]白[しろ]かったです", - "polite past negative" : "面[おも]白[しろ]くなかったです", + "dictionary": "面[おも]白[しろ]い", + "negative": "面[おも]白[しろ]くない", + "polite": "面[おも]白[しろ]いです", + "polite negative": "面[おも]白[しろ]くないです", + "past": "面[おも]白[しろ]かった", + "past negative": "面[おも]白[しろ]くなかった", + "polite past": "面[おも]白[しろ]かったです", + "polite past negative": "面[おも]白[しろ]くなかったです", }, }, - "暗い" : { + "暗い": { - "group" : "i-adjective", + "group": "i-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "暗[くら]い", - "negative" : "暗[くら]くない", - "polite" : "暗[くら]いです", - "polite negative" : "暗[くら]くないです", - "past" : "暗[くら]かった", - "past negative" : "暗[くら]くなかった", - "polite past" : "暗[くら]かったです", - "polite past negative" : "暗[くら]くなかったです", + "dictionary": "暗[くら]い", + "negative": "暗[くら]くない", + "polite": "暗[くら]いです", + "polite negative": "暗[くら]くないです", + "past": "暗[くら]かった", + "past negative": "暗[くら]くなかった", + "polite past": "暗[くら]かったです", + "polite past negative": "暗[くら]くなかったです", }, }, - "いい" : { + "いい": { - "group" : "i-adjective", + "group": "i-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "いい", - "negative" : "良[よ]くない", - "polite" : "いいです", - "polite negative" : "良[よ]くないです", - "past" : "良[よ]かった", - "past negative" : "良[よ]くなかった", - "polite past" : "良[よ]かったです", - "polite past negative" : "良[よ]くなかったです", + "dictionary": "いい", + "negative": "良[よ]くない", + "polite": "いいです", + "polite negative": "良[よ]くないです", + "past": "良[よ]かった", + "past negative": "良[よ]くなかった", + "polite past": "良[よ]かったです", + "polite past negative": "良[よ]くなかったです", }, }, - "有名な" : { + "有名な": { - "group" : "na-adjective", + "group": "na-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "有[ゆう]名[めい]だ", - "negative" : "有[ゆう]名[めい]ではない", - "polite" : "有[ゆう]名[めい]です", - "polite negative" : "有[ゆう]名[めい]ではありません", - "past" : "有[ゆう]名[めい]だった", - "past negative" : "有[ゆう]名[めい]ではなかった", - "polite past" : "有[ゆう]名[めい]でした", - "polite past negative" : "有[ゆう]名[めい]ではありませんでした", + "dictionary": "有[ゆう]名[めい]だ", + "negative": "有[ゆう]名[めい]ではない", + "polite": "有[ゆう]名[めい]です", + "polite negative": "有[ゆう]名[めい]ではありません", + "past": "有[ゆう]名[めい]だった", + "past negative": "有[ゆう]名[めい]ではなかった", + "polite past": "有[ゆう]名[めい]でした", + "polite past negative": "有[ゆう]名[めい]ではありませんでした", }, }, - "好きな" : { + "好きな": { - "group" : "na-adjective", + "group": "na-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "好[す]きだ", - "negative" : "好[す]きではない", - "polite" : "好[す]きです", - "polite negative" : "好[す]きではありません", - "past" : "好[す]きだった", - "past negative" : "好[す]きではなかった", - "polite past" : "好[す]きでした", - "polite past negative" : "好[す]きではありませんでした", + "dictionary": "好[す]きだ", + "negative": "好[す]きではない", + "polite": "好[す]きです", + "polite negative": "好[す]きではありません", + "past": "好[す]きだった", + "past negative": "好[す]きではなかった", + "polite past": "好[す]きでした", + "polite past negative": "好[す]きではありませんでした", }, }, - "元気な" : { + "元気な": { - "group" : "na-adjective", + "group": "na-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "元[げん]気[き]だ", - "negative" : "元[げん]気[き]ではない", - "polite" : "元[げん]気[き]です", - "polite negative" : "元[げん]気[き]ではありません", - "past" : "元[げん]気[き]だった", - "past negative" : "元[げん]気[き]ではなかった", - "polite past" : "元[げん]気[き]でした", - "polite past negative" : "元[げん]気[き]ではありませんでした", + "dictionary": "元[げん]気[き]だ", + "negative": "元[げん]気[き]ではない", + "polite": "元[げん]気[き]です", + "polite negative": "元[げん]気[き]ではありません", + "past": "元[げん]気[き]だった", + "past negative": "元[げん]気[き]ではなかった", + "polite past": "元[げん]気[き]でした", + "polite past negative": "元[げん]気[き]ではありませんでした", }, }, - "意地悪な" : { + "意地悪な": { - "group" : "na-adjective", + "group": "na-adjective", - "conjugations" : { + "conjugations": { - "dictionary" : "意[い]地[じ]悪[わる]だ", - "negative" : "意[い]地[じ]悪[わる]ではない", - "polite" : "意[い]地[じ]悪[わる]です", - "polite negative" : "意[い]地[じ]悪[わる]ではありません", - "past" : "意[い]地[じ]悪[わる]だった", - "past negative" : "意[い]地[じ]悪[わる]ではなかった", - "polite past" : "意[い]地[じ]悪[わる]でした", - "polite past negative" : "意[い]地[じ]悪[わる]ではありませんでした", + "dictionary": "意[い]地[じ]悪[わる]だ", + "negative": "意[い]地[じ]悪[わる]ではない", + "polite": "意[い]地[じ]悪[わる]です", + "polite negative": "意[い]地[じ]悪[わる]ではありません", + "past": "意[い]地[じ]悪[わる]だった", + "past negative": "意[い]地[じ]悪[わる]ではなかった", + "polite past": "意[い]地[じ]悪[わる]でした", + "polite past negative": "意[い]地[じ]悪[わる]ではありませんでした", }, }, }; var transformations = [ - { from: "negative", to: "dictionary", tags: ["plain", "negative"] }, - { from: "past", to: "dictionary", tags: ["plain", "past"] }, - { from: "polite", to: "dictionary", tags: ["plain", "polite"] }, - { from: "te-form", to: "dictionary", tags: ["plain", "te-form"] }, - { from: "potential", to: "dictionary", tags: ["plain", "potential"] }, - { from: "imperative", to: "dictionary", tags: ["plain", "imperative"] }, - { from: "causative", to: "dictionary", tags: ["plain", "causative"] }, - { from: "passive", to: "dictionary", tags: ["plain", "passive"] }, - { from: "progressive" , to: "dictionary", tags: ["plain", "progressive"] }, - { from: "dictionary", to: "negative", tags: ["plain", "negative"] }, - { from: "past negative", to: "negative", tags: ["plain", "past", "negative"] }, - { from: "polite negative", to: "negative", tags: ["plain", "polite", "negative"] }, - { from: "te-form negative", to: "negative", tags: ["plain", "te-form", "negative"] }, - { from: "potential negative", to: "negative", tags: ["plain", "potential", "negative"] }, - { from: "imperative negative", to: "negative", tags: ["plain", "imperative", "negative"] }, - { from: "causative negative", to: "negative", tags: ["plain", "causative", "negative"] }, - { from: "passive negative", to: "negative", tags: ["plain", "passive", "negative"] }, - { from: "progressive negative", to: "negative", tags: ["plain", "progressive", "negative"] }, - { from: "dictionary", to: "past", tags: ["plain", "past"] }, - { from: "past negative" , to: "past", tags: ["plain", "past", "negative"] }, - { from: "polite past", to: "past", tags: ["plain", "polite", "past"] }, - { from: "progressive past", to: "past", tags: ["plain", "progressive", "past"] }, - { from: "negative", to: "past negative", tags: ["plain", "past", "negative"] }, - { from: "past", to: "past negative", tags: ["plain", "past", "negative"] }, - { from: "polite past negative", to: "past negative", tags: ["plain", "polite", "past", "negative"] }, - { from: "progressive past negative", to: "past negative", tags: ["plain", "progressive", "past", "negative"] }, - { from: "dictionary", to: "polite", tags: ["plain", "polite"] }, - { from: "polite past", to: "polite", tags: ["polite", "past"] }, - { from: "polite negative", to: "polite", tags: ["polite", "negative"] }, - { from: "polite progressive", to: "polite", tags: ["polite", "progressive"] }, - { from: "past", to: "polite past", tags: ["plain", "past", "polite"] }, - { from: "polite", to: "polite past", tags: ["past", "polite"] }, - { from: "polite past negative", to: "polite past", tags: ["polite", "past", "negative"] }, - { from: "polite progressive past", to: "polite past", tags: ["polite", "progressive", "past"] }, - { from: "negative", to: "polite negative", tags: ["plain", "polite", "negative"] }, - { from: "polite", to: "polite negative", tags: ["polite", "negative"] }, - { from: "polite past negative", to: "polite negative", tags: ["polite", "past", "negative"] }, - { from: "polite progressive negative", to: "polite negative", tags: ["polite", "progressive", "negative"] }, - { from: "past negative", to: "polite past negative", tags: ["plain", "polite", "past", "negative"] }, - { from: "polite past", to: "polite past negative", tags: ["polite", "past", "negative"] }, - { from: "polite negative", to: "polite past negative", tags: ["polite", "past", "negative"] }, - { from: "polite progressive past negative", to: "polite past negative", tags: ["polite", "progressive", "past", "negative"] }, - { from: "dictionary" , to: "te-form", tags: ["plain", "te-form"] }, - { from: "te-form negative" , to: "te-form", tags: ["plain", "te-form", "negative"] }, - { from: "te-form" , to: "te-form negative", tags: ["plain", "te-form", "negative"] }, - { from: "negative" , to: "te-form negative", tags: ["plain", "te-form", "negative"] }, - { from: "dictionary" , to: "potential", tags: ["plain", "potential"] }, - { from: "potential negative" , to: "potential", tags: ["plain", "potential", "negative"] }, - { from: "potential" , to: "potential negative", tags: ["plain", "potential", "negative"] }, - { from: "negative" , to: "potential negative", tags: ["plain", "potential", "negative"] }, - { from: "dictionary" , to: "imperative", tags: ["plain", "imperative"] }, - { from: "imperative negative" , to: "imperative", tags: ["plain", "imperative", "negative"] }, - { from: "imperative" , to: "imperative negative", tags: ["plain", "imperative", "negative"] }, - { from: "negative" , to: "imperative negative", tags: ["plain", "imperative", "negative"] }, - { from: "dictionary" , to: "causative", tags: ["plain", "causative"] }, - { from: "causative negative" , to: "causative", tags: ["plain", "causative", "negative"] }, - { from: "causative passive" , to: "causative", tags: ["plain", "causative", "passive"] }, - { from: "causative" , to: "causative negative", tags: ["plain", "causative", "negative"] }, - { from: "negative" , to: "causative negative", tags: ["plain", "causative", "negative"] }, - { from: "causative passive negative" , to: "causative negative", tags: ["plain", "causative", "passive", "negative"] }, - { from: "dictionary" , to: "passive", tags: ["plain", "passive"] }, - { from: "passive negative" , to: "passive", tags: ["plain", "passive", "negative"] }, - { from: "causative passive" , to: "passive", tags: ["plain", "causative", "passive"] }, - { from: "passive" , to: "passive negative", tags: ["plain", "passive", "negative"] }, - { from: "negative" , to: "passive negative", tags: ["plain", "passive", "negative"] }, - { from: "causative passive negative" , to: "passive negative", tags: ["plain", "causative", "passive", "negative"] }, - { from: "causative" , to: "causative passive", tags: ["plain", "causative", "passive"] }, - { from: "passive" , to: "causative passive", tags: ["plain", "causative", "passive"] }, - { from: "causative passive negative" , to: "causative passive", tags: ["plain", "causative", "passive", "negative"] }, - { from: "causative negative" , to: "causative passive negative", tags: ["plain", "causative", "passive", "negative"] }, - { from: "passive negative" , to: "causative passive negative", tags: ["plain", "causative", "passive", "negative"] }, - { from: "causative passive" , to: "causative passive negative", tags: ["plain", "causative", "passive", "negative"] }, - { from: "dictionary", to: "progressive", tags: ["plain", "progressive"] }, - { from: "polite progressive", to: "progressive", tags: ["plain", "polite", "progressive"] }, - { from: "progressive negative", to: "progressive", tags: ["plain", "progressive", "negative"] }, - { from: "progressive past", to: "progressive", tags: ["plain", "progressive", "past"] }, - { from: "progressive", to: "progressive negative", tags: ["plain", "progressive", "negative"] }, - { from: "negative", to: "progressive negative", tags: ["plain", "negative", "progressive"] }, - { from: "progressive past negative", to: "progressive negative", tags: ["plain", "progressive", "past", "negative"] }, - { from: "polite progressive negative", to: "progressive negative", tags: ["plain", "polite", "progressive", "negative"] }, - { from: "progressive", to: "polite progressive", tags: ["plain", "progressive", "polite"] }, - { from: "polite", to: "polite progressive", tags: ["polite", "progressive"] }, - { from: "polite progressive negative", to: "polite progressive", tags: ["polite", "progressive", "negative"] }, - { from: "polite progressive past", to: "polite progressive", tags: ["polite", "progressive", "past"] }, - { from: "polite progressive", to: "polite progressive negative", tags: ["polite", "progressive", "negative"] }, - { from: "polite negative", to: "polite progressive negative", tags: ["polite", "progressive", "negative"] }, - { from: "progressive negative", to: "polite progressive negative", tags: ["plain", "polite", "progressive", "negative"] }, - { from: "polite progressive past negative", to: "polite progressive negative", tags: ["polite", "past", "progressive", "negative"] }, - { from: "past", to: "progressive past", tags: ["plain", "past", "progressive"] }, - { from: "progressive", to: "progressive past", tags: ["plain", "past", "progressive"] }, - { from: "progressive past negative", to: "progressive past", tags: ["plain", "progressive", "past", "negative"] }, - { from: "polite progressive past", to: "progressive past", tags: ["plain", "polite", "progressive", "past"] }, - { from: "past negative", to: "progressive past negative", tags: ["plain", "progressive", "past", "negative"] }, - { from: "progressive negative", to: "progressive past negative", tags: ["plain", "progressive", "past", "negative"] }, - { from: "progressive past", to: "progressive past negative", tags: ["plain", "progressive", "past", "negative"] }, - { from: "polite progressive past negative", to: "progressive past negative", tags: ["plain", "polite", "progressive", "past", "negative"] }, - { from: "polite past", to: "polite progressive past", tags: ["polite", "progressive", "past"] }, - { from: "polite progressive" , to: "polite progressive past", tags: ["polite", "progressive", "past"] }, - { from: "progressive past", to: "polite progressive past", tags: ["plain", "polite", "progressive", "past"] }, - { from: "polite progressive past negative", to: "polite progressive past", tags: ["polite", "progressive", "past", "negative"] }, - { from: "polite past negative", to: "polite progressive past negative", tags: ["polite", "progressive", "past", "negative"] }, - { from: "progressive past negative", to: "polite progressive past negative", tags: ["plain", "polite", "progressive", "past", "negative"] }, - { from: "polite progressive past", to: "polite progressive past negative", tags: ["polite", "progressive", "past", "negative"] }, - { from: "polite progressive negative", to: "polite progressive past negative", tags: ["polite", "progressive", "past", "negative"] }, + { from: "negative", to: "dictionary" }, + { from: "past", to: "dictionary" }, + { from: "polite", to: "dictionary" }, + { from: "te-form", to: "dictionary" }, + { from: "potential", to: "dictionary" }, + { from: "imperative", to: "dictionary" }, + { from: "causative", to: "dictionary" }, + { from: "passive", to: "dictionary" }, + { from: "progressive", to: "dictionary" }, + { from: "dictionary", to: "negative" }, + { from: "past negative", to: "negative" }, + { from: "polite negative", to: "negative" }, + { from: "te-form negative", to: "negative" }, + { from: "potential negative", to: "negative" }, + { from: "imperative negative", to: "negative" }, + { from: "causative negative", to: "negative" }, + { from: "passive negative", to: "negative" }, + { from: "progressive negative", to: "negative" }, + { from: "dictionary", to: "past" }, + { from: "past negative", to: "past" }, + { from: "polite past", to: "past" }, + { from: "progressive past", to: "past" }, + { from: "negative", to: "past negative" }, + { from: "past", to: "past negative" }, + { from: "polite past negative", to: "past negative" }, + { from: "progressive past negative", to: "past negative" }, + { from: "dictionary", to: "polite" }, + { from: "polite past", to: "polite" }, + { from: "polite negative", to: "polite" }, + { from: "polite progressive", to: "polite" }, + { from: "past", to: "polite past" }, + { from: "polite", to: "polite past" }, + { from: "polite past negative", to: "polite past" }, + { from: "polite progressive past", to: "polite past" }, + { from: "negative", to: "polite negative" }, + { from: "polite", to: "polite negative" }, + { from: "polite past negative", to: "polite negative" }, + { from: "polite progressive negative", to: "polite negative" }, + { from: "past negative", to: "polite past negative" }, + { from: "polite past", to: "polite past negative" }, + { from: "polite negative", to: "polite past negative" }, + { from: "polite progressive past negative", to: "polite past negative" }, + { from: "dictionary", to: "te-form" }, + { from: "te-form negative", to: "te-form" }, + { from: "te-form", to: "te-form negative" }, + { from: "negative", to: "te-form negative" }, + { from: "dictionary", to: "potential" }, + { from: "potential negative", to: "potential" }, + { from: "potential", to: "potential negative" }, + { from: "negative", to: "potential negative" }, + { from: "dictionary", to: "imperative" }, + { from: "imperative negative", to: "imperative" }, + { from: "imperative", to: "imperative negative" }, + { from: "negative", to: "imperative negative" }, + { from: "dictionary", to: "causative" }, + { from: "causative negative", to: "causative" }, + { from: "causative passive", to: "causative" }, + { from: "causative", to: "causative negative" }, + { from: "negative", to: "causative negative" }, + { from: "causative passive negative", to: "causative negative" }, + { from: "dictionary", to: "passive" }, + { from: "passive negative", to: "passive" }, + { from: "causative passive", to: "passive" }, + { from: "passive", to: "passive negative" }, + { from: "negative", to: "passive negative" }, + { from: "causative passive negative", to: "passive negative" }, + { from: "causative", to: "causative passive" }, + { from: "passive", to: "causative passive" }, + { from: "causative passive negative", to: "causative passive" }, + { from: "causative negative", to: "causative passive negative" }, + { from: "passive negative", to: "causative passive negative" }, + { from: "causative passive", to: "causative passive negative" }, + { from: "dictionary", to: "progressive" }, + { from: "polite progressive", to: "progressive" }, + { from: "progressive negative", to: "progressive" }, + { from: "progressive past", to: "progressive" }, + { from: "progressive", to: "progressive negative" }, + { from: "negative", to: "progressive negative" }, + { from: "progressive past negative", to: "progressive negative" }, + { from: "polite progressive negative", to: "progressive negative" }, + { from: "progressive", to: "polite progressive" }, + { from: "polite", to: "polite progressive" }, + { from: "polite progressive negative", to: "polite progressive" }, + { from: "polite progressive past", to: "polite progressive" }, + { from: "polite progressive", to: "polite progressive negative" }, + { from: "polite negative", to: "polite progressive negative" }, + { from: "progressive negative", to: "polite progressive negative" }, + { from: "polite progressive past negative", to: "polite progressive negative" }, + { from: "past", to: "progressive past" }, + { from: "progressive", to: "progressive past" }, + { from: "progressive past negative", to: "progressive past" }, + { from: "polite progressive past", to: "progressive past" }, + { from: "past negative", to: "progressive past negative" }, + { from: "progressive negative", to: "progressive past negative" }, + { from: "progressive past", to: "progressive past negative" }, + { from: "polite progressive past negative", to: "progressive past negative" }, + { from: "polite past", to: "polite progressive past" }, + { from: "polite progressive", to: "polite progressive past" }, + { from: "progressive past", to: "polite progressive past" }, + { from: "polite progressive past negative", to: "polite progressive past" }, + { from: "polite past negative", to: "polite progressive past negative" }, + { from: "progressive past negative", to: "polite progressive past negative" }, + { from: "polite progressive past", to: "polite progressive past negative" }, + { from: "polite progressive negative", to: "polite progressive past negative" }, ]; var log; @@ -928,34 +928,34 @@ Array.prototype.randomElement = function () { // From: http://stackoverflow.com/a/2897510 -new function($) { - $.fn.getCursorPosition = function() { - var input = this.get(0); - if (!input) return; // No (input) element found - if ('selectionStart' in input) { - // Standard-compliant browsers - return input.selectionStart; - } else if (document.selection) { - // IE - input.fmcus(); - var sel = document.selection.createRange(); - var selLen = document.selection.createRange().text.length; - sel.moveStart('character', -input.value.length); - return sel.text.length - selLen; - } +new function ($) { + $.fn.getCursorPosition = function () { + var input = this.get(0); + if (!input) return; // No (input) element found + if ('selectionStart' in input) { + // Standard-compliant browsers + return input.selectionStart; + } else if (document.selection) { + // IE + input.fmcus(); + var sel = document.selection.createRange(); + var selLen = document.selection.createRange().text.length; + sel.moveStart('character', -input.value.length); + return sel.text.length - selLen; } + } }(jQuery); // From: http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area -new function($) { - $.fn.setCursorPosition = function(pos) { +new function ($) { + $.fn.setCursorPosition = function (pos) { if (this.setSelectionRange) { this.setSelectionRange(pos, pos); } else if (this.createTextRange) { var range = this.createTextRange(); range.collapse(true); - if(pos < 0) { + if (pos < 0) { pos = $(this).val().length + pos; } range.moveEnd('character', pos); @@ -980,9 +980,9 @@ function getVerbForms(entry) { } var result = { - "kanji": { }, - "hiragana": { }, - "furigana": { } + "kanji": {}, + "hiragana": {}, + "furigana": {} }; Object.keys(words[entry].conjugations).forEach(function (key) { @@ -1018,68 +1018,68 @@ function processAnswerKey() { var last3 = val.slice(pos - 3, pos); var replace1 = { - "a" : "あ", "i" : "い", "u" : "う", "e" : "え", "o" : "お" + "a": "あ", "i": "い", "u": "う", "e": "え", "o": "お" }; var replace2 = { - "ka" : "か", "ki" : "き", "ku" : "く", "ke" : "け", "ko" : "こ", - "sa" : "さ", "si" : "し", "su" : "す", "se" : "せ", "so" : "そ", - "ta" : "た", "ti" : "ち", "tu" : "つ", "te" : "て", "to" : "と", - "na" : "な", "ni" : "に", "nu" : "ぬ", "ne" : "ね", "no" : "の", - "ha" : "は", "hi" : "ひ", "hu" : "ふ", "he" : "へ", "ho" : "ほ", - "ma" : "ま", "mi" : "み", "mu" : "む", "me" : "め", "mo" : "も", - "ra" : "ら", "ri" : "り", "ru" : "る", "re" : "れ", "ro" : "ろ", - "ga" : "が", "gi" : "ぎ", "gu" : "ぐ", "ge" : "げ", "go" : "ご", - "za" : "ざ", "zi" : "じ", "zu" : "ず", "ze" : "ぜ", "zo" : "ぞ", - "da" : "だ", "di" : "ぢ", "du" : "づ", "de" : "で", "do" : "ど", - "ba" : "ば", "bi" : "び", "bu" : "ぶ", "be" : "べ", "bo" : "ぼ", - "pa" : "ぱ", "pi" : "ぴ", "pu" : "ぷ", "pe" : "ぺ", "po" : "ぽ", + "ka": "か", "ki": "き", "ku": "く", "ke": "け", "ko": "こ", + "sa": "さ", "si": "し", "su": "す", "se": "せ", "so": "そ", + "ta": "た", "ti": "ち", "tu": "つ", "te": "て", "to": "と", + "na": "な", "ni": "に", "nu": "ぬ", "ne": "ね", "no": "の", + "ha": "は", "hi": "ひ", "hu": "ふ", "he": "へ", "ho": "ほ", + "ma": "ま", "mi": "み", "mu": "む", "me": "め", "mo": "も", + "ra": "ら", "ri": "り", "ru": "る", "re": "れ", "ro": "ろ", + "ga": "が", "gi": "ぎ", "gu": "ぐ", "ge": "げ", "go": "ご", + "za": "ざ", "zi": "じ", "zu": "ず", "ze": "ぜ", "zo": "ぞ", + "da": "だ", "di": "ぢ", "du": "づ", "de": "で", "do": "ど", + "ba": "ば", "bi": "び", "bu": "ぶ", "be": "べ", "bo": "ぼ", + "pa": "ぱ", "pi": "ぴ", "pu": "ぷ", "pe": "ぺ", "po": "ぽ", - "qa" : "くぁ", "qi" : "くぃ", "qu" : "く", "qe" : "くぇ", "qo" : "くぉ", - "wa" : "わ", "wi" : "うぃ", "wu" : "う", "we" : "うぇ", "wo" : "を", - "ya" : "や", "yi" : "い", "yu" : "ゆ", "ye" : "いぇ", "yo" : "よ", - "fa" : "ふぁ", "fi" : "ふぃ", "fu" : "ふ", "fe" : "ふぇ", "fo" : "ふぉ", - "ja" : "じゃ", "ji" : "じ", "ju" : "じゅ", "je" : "じぇ", "jo" : "じょ", - "la" : "ぁ", "li" : "ぃ", "lu" : "ぅ", "le" : "ぇ", "lo" : "ぉ", - "za" : "ざ", "zi" : "じ", "zu" : "ず", "ze" : "ぜ", "zo" : "ぞ", - "xa" : "ぁ", "xi" : "ぃ", "xu" : "ぅ", "xe" : "ぇ", "xo" : "ぉ", - "ca" : "か", "ci" : "し", "cu" : "く", "ce" : "せ", "co" : "こ", - "va" : "ヴぁ", "vi" : "ヴぃ", "vu" : "ヴ", "ve" : "ヴぇ", "vo" : "ヴぉ", + "qa": "くぁ", "qi": "くぃ", "qu": "く", "qe": "くぇ", "qo": "くぉ", + "wa": "わ", "wi": "うぃ", "wu": "う", "we": "うぇ", "wo": "を", + "ya": "や", "yi": "い", "yu": "ゆ", "ye": "いぇ", "yo": "よ", + "fa": "ふぁ", "fi": "ふぃ", "fu": "ふ", "fe": "ふぇ", "fo": "ふぉ", + "ja": "じゃ", "ji": "じ", "ju": "じゅ", "je": "じぇ", "jo": "じょ", + "la": "ぁ", "li": "ぃ", "lu": "ぅ", "le": "ぇ", "lo": "ぉ", + "za": "ざ", "zi": "じ", "zu": "ず", "ze": "ぜ", "zo": "ぞ", + "xa": "ぁ", "xi": "ぃ", "xu": "ぅ", "xe": "ぇ", "xo": "ぉ", + "ca": "か", "ci": "し", "cu": "く", "ce": "せ", "co": "こ", + "va": "ヴぁ", "vi": "ヴぃ", "vu": "ヴ", "ve": "ヴぇ", "vo": "ヴぉ", - "lu" : "っ", + "lu": "っ", - "nn" : "ん", "n'" : "ん", + "nn": "ん", "n'": "ん", - "nb" : "んb", "nc" : "んc", "nd" : "んd", "nf" : "んf", "ng" : "んg", - "nh" : "んh", "nj" : "んj", "nk" : "んk", "nl" : "んl", "nm" : "んm", - "np" : "んp", "nq" : "んq", "nr" : "んr", "ns" : "んs", "nt" : "んt", - "nv" : "んv", "nw" : "んw", "nx" : "んx", "nz" : "んz", + "nb": "んb", "nc": "んc", "nd": "んd", "nf": "んf", "ng": "んg", + "nh": "んh", "nj": "んj", "nk": "んk", "nl": "んl", "nm": "んm", + "np": "んp", "nq": "んq", "nr": "んr", "ns": "んs", "nt": "んt", + "nv": "んv", "nw": "んw", "nx": "んx", "nz": "んz", - "aa" : "っa", "bb" : "っb", "cc" : "っc", "dd" : "っd", "ee" : "っe", - "ff" : "っf", "gg" : "っg", "hh" : "っh", "ii" : "っi", "jj" : "っj", - "kk" : "っk", "ll" : "っl", "mm" : "っm", "oo" : "っo", "pp" : "っp", - "qq" : "っq", "rr" : "っr", "ss" : "っs", "tt" : "っt", "uu" : "っu", - "vv" : "っv", "ww" : "っw", "xx" : "っx", "yy" : "っy", "zz" : "っz", + "aa": "っa", "bb": "っb", "cc": "っc", "dd": "っd", "ee": "っe", + "ff": "っf", "gg": "っg", "hh": "っh", "ii": "っi", "jj": "っj", + "kk": "っk", "ll": "っl", "mm": "っm", "oo": "っo", "pp": "っp", + "qq": "っq", "rr": "っr", "ss": "っs", "tt": "っt", "uu": "っu", + "vv": "っv", "ww": "っw", "xx": "っx", "yy": "っy", "zz": "っz", }; var replace3 = { - "kya" : "きゃ", "kyi" : "きぃ", "kyu" : "きゅ", "kye" : "きぇ", "kyo" : "きょ", - "sha" : "しゃ", "shi" : "し", "shu" : "しゅ", "she" : "しぇ", "sho" : "しょ", - "cha" : "ちゃ", "chi" : "ち", "chu" : "ちゅ", "che" : "ちぇ", "cho" : "ちょ", - "nya" : "にゃ", "nyi" : "にぃ", "nyu" : "にゅ", "nye" : "にぇ", "nyo" : "にょ", - "hya" : "ひゃ", "hyi" : "ひぃ", "hyu" : "ひゅ", "hye" : "ひぇ", "hyo" : "ひょ", - "mya" : "みゃ", "myi" : "みぃ", "myu" : "みゅ", "mye" : "みぇ", "myo" : "みょ", - "rya" : "りゃ", "ryi" : "りぃ", "ryu" : "りゅ", "rye" : "りぇ", "ryo" : "りょ", - "gya" : "ぎゃ", "gyi" : "ぎぃ", "gyu" : "ぎゅ", "gye" : "ぎぇ", "gyo" : "ぎょ", - "zya" : "じゃ", "zyi" : "じぃ", "zyu" : "じゅ", "zye" : "じぇ", "zyo" : "じょ", - "dya" : "ぢゃ", "dyi" : "ぢぃ", "dyu" : "ぢゅ", "dye" : "ぢぇ", "dyo" : "ぢょ", - "bya" : "びゃ", "byi" : "びぃ", "byu" : "びゅ", "bye" : "びぇ", "byo" : "びょ", - "pya" : "ぴゃ", "pyi" : "ぴぃ", "pyu" : "ぴゅ", "pye" : "ぴぇ", "pyo" : "ぴょ", + "kya": "きゃ", "kyi": "きぃ", "kyu": "きゅ", "kye": "きぇ", "kyo": "きょ", + "sha": "しゃ", "shi": "し", "shu": "しゅ", "she": "しぇ", "sho": "しょ", + "cha": "ちゃ", "chi": "ち", "chu": "ちゅ", "che": "ちぇ", "cho": "ちょ", + "nya": "にゃ", "nyi": "にぃ", "nyu": "にゅ", "nye": "にぇ", "nyo": "にょ", + "hya": "ひゃ", "hyi": "ひぃ", "hyu": "ひゅ", "hye": "ひぇ", "hyo": "ひょ", + "mya": "みゃ", "myi": "みぃ", "myu": "みゅ", "mye": "みぇ", "myo": "みょ", + "rya": "りゃ", "ryi": "りぃ", "ryu": "りゅ", "rye": "りぇ", "ryo": "りょ", + "gya": "ぎゃ", "gyi": "ぎぃ", "gyu": "ぎゅ", "gye": "ぎぇ", "gyo": "ぎょ", + "zya": "じゃ", "zyi": "じぃ", "zyu": "じゅ", "zye": "じぇ", "zyo": "じょ", + "dya": "ぢゃ", "dyi": "ぢぃ", "dyu": "ぢゅ", "dye": "ぢぇ", "dyo": "ぢょ", + "bya": "びゃ", "byi": "びぃ", "byu": "びゅ", "bye": "びぇ", "byo": "びょ", + "pya": "ぴゃ", "pyi": "ぴぃ", "pyu": "ぴゅ", "pye": "ぴぇ", "pyo": "ぴょ", - "shi" : "し", - "tsu" : "つ", + "shi": "し", + "tsu": "つ", }; if (replace3[last3]) { @@ -1187,11 +1187,11 @@ function processAnswer() { var klass = correct ? "correct" : "incorrect"; log.history.push({ - "question" : window.question, - "response" : response, - "answer" : window.answerWithFurigana, - "kana" : window.answer2, - "correct" : correct + "question": window.question, + "response": response, + "answer": window.answerWithFurigana, + "kana": window.answer2, + "correct": correct }); $('#answer').val(""); @@ -1309,7 +1309,13 @@ function updateTeNotice() { function arrayDifference(a, b) { // From http://stackoverflow.com/a/1723220 - return a.filter(function(x) { return b.indexOf(x) < 0 }); + return a.filter(function (x) { return b.indexOf(x) < 0 }); +} + +function arrayUnique(arr) { + return arr.filter(function (value, index, self) { + return self.indexOf(value) === index; + }); } function calculateTransitions() { @@ -1325,6 +1331,21 @@ function calculateTransitions() { return tags; } + function calculateTags(tags) { + + tags = tags.split(" "); + + if (tags.indexOf("polite") == -1) { + tags.push("plain"); + } + + if (tags.indexOf("dictionary") != -1) { + tags.splice(tags.indexOf("dictionary"), 1); + } + + return tags; + } + transformations.forEach(function (transformation) { var from = getTags(transformation.from); @@ -1359,11 +1380,10 @@ function calculateTransitions() { phrase = phrase || from_extra[arrayDifference(from, to)[0]]; phrase = phrase || to_extra[arrayDifference(to, from)[0]]; - if (phrase == undefined) { - throw "wobbly"; - } - transformation.phrase = phrase; + + transformation.tags = arrayUnique(calculateTags(transformation.from).concat(calculateTags(transformation.to))); + }); // Add trick forms @@ -1371,7 +1391,7 @@ function calculateTransitions() { var trick_forms = []; transformations.forEach(function (transformation) { - trick_forms.push( { + trick_forms.push({ from: transformation.to, to: transformation.to, phrase: transformation.phrase, @@ -1388,7 +1408,7 @@ function calculateTransitions() { transformations = transformations.concat(trick_forms); } -$('window').ready(function() { +$('window').ready(function () { calculateTransitions();