japanese-conjugation-drill/conjugation/drill.js

2456 lines
62 KiB
JavaScript
Raw Normal View History

2016-11-22 00:22:00 +00:00
// drill.js
2016-12-27 21:08:59 +00:00
var words = {
"行く" : {
2016-12-25 15:51:49 +00:00
"group" : "iku",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "行[い]く",
"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" : "行[い]っていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "行[い]っていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "行[い]っていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "行[い]っていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "行[い]っていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-22 00:22:00 +00:00
},
"飲む" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "飲[の]む",
"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" : "飲[の]んでいません",
2016-12-28 11:20:37 +00:00
"progressive past" : "飲[の]んでいた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "飲[の]んでいなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "飲[の]んでいました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "飲[の]んでいませんでした",
2016-12-27 21:08:59 +00:00
},
},
"作る" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "作[つく]る",
"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" : "作[つく]っていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "作[つく]っていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "作[つく]っていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "作[つく]っていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "作[つく]っていませんでした",
2016-12-27 21:08:59 +00:00
},
},
"買い戻す" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "買[か]い戻[もど]す",
"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" : "買[か]い戻[もど]していません",
2016-12-28 11:20:37 +00:00
"progressive past" : "買[か]い戻[もど]していた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "買[か]い戻[もど]していなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "買[か]い戻[もど]していました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "買[か]い戻[もど]していませんでした",
2016-12-27 21:08:59 +00:00
},
},
"見る" : {
2016-12-25 15:51:49 +00:00
"group" : "ichidan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "見[み]る",
"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" : "見[み]ていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "見[み]ていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "見[み]ていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "見[み]ていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "見[み]ていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-22 00:22:00 +00:00
},
"食べる" : {
2016-12-25 15:51:49 +00:00
"group" : "ichidan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "食[た]べる",
"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" : "食[た]べていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "食[た]べていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "食[た]べていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "食[た]べていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "食[た]べていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-23 17:39:23 +00:00
},
"起きる" : {
2016-12-25 15:51:49 +00:00
"group" : "ichidan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "起[お]きる",
"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" : "起[お]きていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "起[お]きていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "起[お]きていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "起[お]きていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "起[お]きていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-23 17:39:23 +00:00
},
"買い換える" : {
2016-12-25 15:51:49 +00:00
"group" : "ichidan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "買[か]い換[か]える",
"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" : "買[か]い換[か]えていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "買[か]い換[か]えていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "買[か]い換[か]えていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "買[か]い換[か]えていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "買[か]い換[か]えていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-23 17:39:23 +00:00
},
"来る" : {
2016-12-25 15:51:49 +00:00
"group" : "kuru",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "来[く]る",
"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" : "来[き]ていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "来[き]ていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "来[き]ていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "来[き]ていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "来[き]ていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-23 17:39:23 +00:00
},
2016-12-27 17:52:51 +00:00
"する" : {
"group" : "suru",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "する",
"negative" : "しない",
"polite" : "します",
"polite negative" : "しません",
"past" : "した",
"past negative" : "しなかった",
"polite past" : "しました",
"polite past negative" : "しませんでした",
"imperative" : "しろ",
"imperative negative" : "さるな",
"progressive" : "している",
"progressive negative" : "していない",
"polite progressive" : "しています",
"polite progressive negative" : "していません",
2016-12-28 11:20:37 +00:00
"progressive past" : "していた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "していなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "していました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "していませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-27 17:52:51 +00:00
},
"勉強する" : {
2016-12-25 15:51:49 +00:00
"group" : "suru",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "勉[べん]強[きょう]する",
"negative" : "勉[べん]強[きょう]しない",
"polite" : "勉[べん]強[きょう]します",
"polite negative" : "勉[べん]強[きょう]しません",
"past" : "勉[べん]強[きょう]した",
"past negative" : "勉[べん]強[きょう]しなかった",
"polite past" : "勉[べん]強[きょう]しました",
"polite past negative" : "勉[べん]強[きょう]しませんでした",
"imperative" : "勉[べん]強[きょう]しろ",
"imperative negative" : "勉[べん]強[きょう]さるな",
"progressive" : "勉[べん]強[きょう]している",
"progressive negative" : "勉[べん]強[きょう]していない",
"polite progressive" : "勉[べん]強[きょう]しています",
"polite progressive negative" : "勉[べん]強[きょう]していません",
2016-12-28 11:20:37 +00:00
"progressive past" : "勉[べん]強[きょう]していた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "勉[べん]強[きょう]していなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "勉[べん]強[きょう]していました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "勉[べん]強[きょう]していませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-23 17:39:23 +00:00
},
"電話する" : {
2016-12-25 15:51:49 +00:00
"group" : "suru",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "電[でん]話[わ]する",
"negative" : "電[でん]話[わ]しない",
"polite" : "電[でん]話[わ]します",
"polite negative" : "電[でん]話[わ]しません",
"past" : "電[でん]話[わ]した",
"past negative" : "電[でん]話[わ]しなかった",
"polite past" : "電[でん]話[わ]しました",
"polite past negative" : "電[でん]話[わ]しませんでした",
"imperative" : "電[でん]話[わ]しろ",
"imperative negative" : "電[でん]話[わ]さるな",
"progressive" : "電[でん]話[わ]している",
"progressive negative" : "電[でん]話[わ]していない",
"polite progressive" : "電[でん]話[わ]しています",
"polite progressive negative" : "電[でん]話[わ]していません",
2016-12-28 11:20:37 +00:00
"progressive past" : "電[でん]話[わ]していた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "電[でん]話[わ]していなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "電[でん]話[わ]していました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "電[でん]話[わ]していませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-22 00:22:00 +00:00
},
"読む" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "読[よ]む",
"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" : "読[よ]んでいません",
2016-12-28 11:20:37 +00:00
"progressive past" : "読[よ]んでいた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "読[よ]んでいなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "読[よ]んでいました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "読[よ]んでいませんでした",
2016-12-27 21:08:59 +00:00
},
2016-11-22 00:22:00 +00:00
},
"思う" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "思[おも]う",
"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" : "思[おも]っていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "思[おも]っていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "思[おも]っていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "思[おも]っていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "思[おも]っていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-11-22 00:22:00 +00:00
"買い与える" : {
2016-12-25 15:51:49 +00:00
"group" : "ichidan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "買[か]い与[あた]える",
"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" : "買[か]い与[あた]えていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "買[か]い与[あた]えていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "買[か]い与[あた]えていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "買[か]い与[あた]えていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "買[か]い与[あた]えていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-11-22 00:22:00 +00:00
"座る" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "座[すわ]る",
"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" : "座[すわ]っていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "座[すわ]っていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "座[すわ]っていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "座[すわ]っていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "座[すわ]っていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-11-22 00:22:00 +00:00
"休む" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "休[やす]む",
"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" : "休[やす]んでいません",
2016-12-28 11:20:37 +00:00
"progressive past" : "休[やす]んでいた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "休[やす]んでいなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "休[やす]んでいました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "休[やす]んでいませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-11-22 00:22:00 +00:00
"足す" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "足[た]す",
"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" : "足[た]していません",
2016-12-28 11:20:37 +00:00
"progressive past" : "足[た]していた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "足[た]していなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "足[た]していました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "足[た]していませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-11-22 00:22:00 +00:00
"歌う" : {
2016-12-25 15:51:49 +00:00
"group" : "godan",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "歌[うた]う",
"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" : "歌[うた]っていません",
2016-12-28 11:20:37 +00:00
"progressive past" : "歌[うた]っていた",
2016-12-28 16:37:03 +00:00
"progressive past negative" : "歌[うた]っていなかった",
2016-12-28 11:20:37 +00:00
"polite progressive past" : "歌[うた]っていました",
2016-12-28 16:37:03 +00:00
"polite progressive past negative" : "歌[うた]っていませんでした",
2016-12-27 21:08:59 +00:00
},
2016-12-10 01:10:03 +00:00
},
2016-12-25 21:35:29 +00:00
2016-12-25 21:39:18 +00:00
"高い" : {
"group" : "i-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "高[たか]い",
"negative" : "高[たか]くない",
"polite" : "高[たか]いです",
"polite negative" : "高[たか]くないです",
"past" : "高[たか]かった",
"past negative" : "高[たか]くなかった",
"polite past" : "高[たか]かったです",
"polite past negative" : "高[たか]くなかったです",
},
2016-12-25 21:39:18 +00:00
},
"面白い" : {
"group" : "i-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "面白[おもしろ]い",
"negative" : "面白[おもしろ]くない",
"polite" : "面白[おもしろ]いです",
"polite negative" : "面白[おもしろ]くないです",
"past" : "面白[おもしろ]かった",
"past negative" : "面白[おもしろ]くなかった",
"polite past" : "面白[おもしろ]かったです",
"polite past negative" : "面白[おもしろ]くなかったです",
},
2016-12-25 21:39:18 +00:00
},
"暗い" : {
"group" : "i-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "暗[くら]い",
"negative" : "暗[くら]くない",
"polite" : "暗[くら]いです",
"polite negative" : "暗[くら]くないです",
"past" : "暗[くら]かった",
"past negative" : "暗[くら]くなかった",
"polite past" : "暗[くら]かったです",
"polite past negative" : "暗[くら]くなかったです",
},
2016-12-25 21:39:18 +00:00
},
2016-12-25 21:35:29 +00:00
"いい" : {
"group" : "i-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "いい",
"negative" : "良[よ]くない",
"polite" : "いいです",
"polite negative" : "良[よ]くないです",
"past" : "良[よ]かった",
"past negative" : "良[よ]くなかった",
"polite past" : "良[よ]かったです",
"polite past negative" : "良[よ]くなかったです",
},
2016-12-25 21:35:29 +00:00
},
2016-12-25 23:14:21 +00:00
"有名な" : {
"group" : "na-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "有名[ゆうめい]だ",
"negative" : "有名[ゆうめい]ではない",
"polite" : "有名[ゆうめい]です",
"polite negative" : "有名[ゆうめい]ではありません",
"past" : "有名[ゆうめい]だった",
"past negative" : "有名[ゆうめい]ではなかった",
"polite past" : "有名[ゆうめい]でした",
"polite past negative" : "有名[ゆうめい]ではありませんでした",
},
2016-12-25 23:14:21 +00:00
},
"好きな" : {
"group" : "na-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "好[き]だ",
"negative" : "好[き]ではない",
"polite" : "好[き]です",
"polite negative" : "好[き]ではありません",
"past" : "好[き]だった",
"past negative" : "好[き]ではなかった",
"polite past" : "好[き]でした",
"polite past negative" : "好[き]ではありませんでした",
},
2016-12-25 23:14:21 +00:00
},
"元気な" : {
"group" : "na-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "元[げん]気[き]だ",
"negative" : "元[げん]気[き]ではない",
"polite" : "元[げん]気[き]です",
"polite negative" : "元[げん]気[き]ではありません",
"past" : "元[げん]気[き]だった",
"past negative" : "元[げん]気[き]ではなかった",
"polite past" : "元[げん]気[き]でした",
"polite past negative" : "元[げん]気[き]ではありませんでした",
},
2016-12-25 23:14:21 +00:00
},
"意地悪な" : {
"group" : "na-adjective",
2016-12-27 21:08:59 +00:00
"conjugations" : {
"plain" : "意[い]地[じ]悪[わる]だ",
"negative" : "意[い]地[じ]悪[わる]ではない",
"polite" : "意[い]地[じ]悪[わる]です",
"polite negative" : "意[い]地[じ]悪[わる]ではありません",
"past" : "意[い]地[じ]悪[わる]だった",
"past negative" : "意[い]地[じ]悪[わる]ではなかった",
"polite past" : "意[い]地[じ]悪[わる]でした",
"polite past negative" : "意[い]地[じ]悪[わる]ではありませんでした",
},
2016-12-25 23:14:21 +00:00
},
};
2016-11-22 00:22:00 +00:00
2017-03-18 19:25:26 +00:00
var transformations = [
2016-11-22 00:22:00 +00:00
2017-03-18 19:25:26 +00:00
{
from: "negative",
to: "plain",
phrase: "affirmative"
},
2016-11-22 00:22:00 +00:00
{ // trick
from: "plain",
2017-03-18 19:25:26 +00:00
to: "plain",
phrase: "affirmative"
2016-11-22 00:22:00 +00:00
},
2017-03-18 19:25:26 +00:00
{
from: "past",
to: "plain",
phrase: "present"
},
2016-11-22 00:22:00 +00:00
{ // trick
from: "plain",
to: "plain",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite",
to: "plain",
phrase: "plain"
2016-11-22 00:22:00 +00:00
},
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "te-form",
to: "plain",
phrase: "plain"
},
2016-11-22 00:22:00 +00:00
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "potential",
to: "plain",
phrase: "plain"
2016-11-22 00:22:00 +00:00
},
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "imperative",
to: "plain",
phrase: "plain"
},
2016-11-22 00:22:00 +00:00
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "causative",
to: "plain",
phrase: "plain"
2016-11-22 00:22:00 +00:00
},
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "passive",
to: "plain",
phrase: "plain"
},
2016-11-22 00:22:00 +00:00
{ // trick
from: "plain",
to: "plain",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive" ,
to: "plain",
phrase: "non-progressive"
2016-12-10 01:10:03 +00:00
},
{ // trick
from: "plain",
to: "plain",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "plain",
to: "negative",
phrase: "negative"
},
2016-12-10 01:10:03 +00:00
{ // trick
from: "negative",
to: "negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "past negative",
to: "negative",
phrase: "present"
2016-12-10 01:10:03 +00:00
},
{ // trick
from: "negative",
to: "negative",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite negative",
to: "negative",
phrase: "plain"
},
2016-12-10 01:10:03 +00:00
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "te-form negative",
to: "negative",
phrase: "plain"
2016-12-10 01:10:03 +00:00
},
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "potential negative",
to: "negative",
phrase: "plain"
},
2016-12-10 01:10:03 +00:00
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "imperative negative",
to: "negative",
phrase: "plain"
2016-12-24 17:11:34 +00:00
},
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "causative negative",
to: "negative",
phrase: "plain"
},
2016-12-24 17:11:34 +00:00
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "passive negative",
to: "negative",
phrase: "plain"
2016-12-24 17:11:34 +00:00
},
{ // trick
from: "negative",
to: "negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive negative",
to: "negative",
phrase: "non-progressive"
},
2016-12-24 17:11:34 +00:00
{ // trick
from: "negative",
to: "negative",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "plain",
to: "past",
phrase: "past"
2016-11-22 00:22:00 +00:00
},
2016-12-24 20:47:32 +00:00
{ // trick
from: "past",
to: "past",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "past negative" ,
to: "past",
phrase: "affirmative"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "past",
to: "past",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past",
to: "past",
phrase: "plain"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "past",
to: "past",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past",
to: "past",
phrase: "non-progressive"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "past",
to: "past",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "negative",
to: "past negative",
phrase: "past"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "past negative",
to: "past negative",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "past",
to: "past negative",
phrase: "negative"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "past negative",
to: "past negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past negative",
to: "past negative",
phrase: "plain"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "past negative",
to: "past negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past negative",
to: "past negative",
phrase: "non-progressive"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "past negative",
to: "past negative",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "plain",
to: "polite",
phrase: "polite"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite",
to: "polite",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past",
to: "polite",
phrase: "present"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite",
to: "polite",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite negative",
to: "polite",
phrase: "affirmative"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite",
to: "polite",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive",
to: "polite",
phrase: "non-progressive"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite",
to: "polite",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "past",
to: "polite past",
phrase: "polite"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite past",
to: "polite past",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite",
to: "polite past",
phrase: "past"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite past",
to: "polite past",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past negative",
to: "polite past",
phrase: "affirmative"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite past",
to: "polite past",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past",
to: "polite past",
phrase: "non-progressive"
},
{ // trick
from: "polite past",
to: "polite past",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "negative",
to: "polite negative",
phrase: "polite"
},
{ // trick
from: "polite negative",
to: "polite negative",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite",
to: "polite negative",
phrase: "negative"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite negative",
to: "polite negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past negative",
to: "polite negative",
phrase: "present"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite negative",
to: "polite negative",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive negative",
to: "polite negative",
phrase: "non-progressive"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite negative",
to: "polite negative",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "past negative",
to: "polite past negative",
phrase: "polite"
2016-12-25 15:30:53 +00:00
},
{ // trick
from: "polite past negative",
to: "polite past negative",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past",
to: "polite past negative",
phrase: "negative"
},
2016-12-25 15:30:53 +00:00
{ // trick
from: "polite past negative",
to: "polite past negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite negative",
to: "polite past negative",
phrase: "past"
2016-12-25 15:30:53 +00:00
},
2016-12-27 17:44:54 +00:00
{ // trick
from: "polite past negative",
to: "polite past negative",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past negative",
to: "polite past negative",
phrase: "non-progressive"
},
2016-12-27 17:44:54 +00:00
{ // trick
from: "polite past negative",
to: "polite past negative",
phrase: "non-progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "plain" ,
to: "te-form",
phrase: "て"
2016-12-27 17:44:54 +00:00
},
{ // trick
from: "te-form",
to: "te-form",
phrase: "て"
},
2017-03-18 19:25:26 +00:00
{
from: "te-form negative" ,
to: "te-form",
phrase: "affirmative"
},
2016-12-27 17:44:54 +00:00
{ // trick
from: "te-form",
to: "te-form",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "te-form" ,
to: "te-form negative",
phrase: "negative"
2016-12-27 17:44:54 +00:00
},
{ // trick
from: "te-form negative",
to: "te-form negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative" ,
to: "te-form negative",
phrase: "て"
},
2016-12-27 17:44:54 +00:00
{ // trick
from: "te-form negative",
to: "te-form negative",
phrase: "て"
},
2017-03-18 19:25:26 +00:00
{
from: "plain" ,
to: "potential",
phrase: "potential"
2016-12-27 17:44:54 +00:00
},
{ // trick
from: "potential",
to: "potential",
phrase: "potential"
},
2017-03-18 19:25:26 +00:00
{
from: "potential negative" ,
to: "potential",
phrase: "affirmative"
},
2016-12-27 17:44:54 +00:00
{ // trick
from: "potential",
to: "potential",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "potential" ,
to: "potential negative",
phrase: "negative"
2016-12-27 17:44:54 +00:00
},
{ // trick
from: "potential negative",
to: "potential negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative" ,
to: "potential negative",
phrase: "potential"
},
2016-12-28 11:20:37 +00:00
{ // trick
from: "potential negative",
to: "potential negative",
phrase: "potential"
},
2017-03-18 19:25:26 +00:00
{
from: "plain" ,
to: "imperative",
phrase: "imperative"
2016-12-28 11:20:37 +00:00
},
{ // trick
from: "imperative",
to: "imperative",
phrase: "imperative"
},
2017-03-18 19:25:26 +00:00
{
from: "imperative negative" ,
to: "imperative",
phrase: "affirmative"
},
2016-12-28 16:37:03 +00:00
{ // trick
from: "imperative",
to: "imperative",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "imperative" ,
to: "imperative negative",
phrase: "negative"
2016-12-28 16:37:03 +00:00
},
{ // trick
from: "imperative negative",
to: "imperative negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative" ,
to: "imperative negative",
phrase: "imperative"
},
2016-12-28 11:20:37 +00:00
{ // trick
from: "imperative negative",
to: "imperative negative",
phrase: "imperative"
},
2017-03-18 19:25:26 +00:00
{
from: "plain" ,
to: "causative",
phrase: "causative"
2016-12-28 16:37:03 +00:00
},
{ // trick
from: "causative",
to: "causative",
phrase: "causative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative negative" ,
to: "causative",
phrase: "affirmative"
},
2016-12-28 16:37:03 +00:00
{ // trick
from: "causative",
to: "causative",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive" ,
to: "causative",
phrase: "active"
},
{ // trick
from: "causative",
to: "causative",
phrase: "active"
},
2017-03-18 19:25:26 +00:00
{
from: "causative" ,
to: "causative negative",
phrase: "negative"
},
{ // trick
from: "causative negative",
to: "causative negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative" ,
to: "causative negative",
phrase: "causative"
},
{ // trick
from: "causative negative",
to: "causative negative",
phrase: "causative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive negative" ,
to: "causative negative",
phrase: "active"
},
{ // trick
from: "causative negative",
to: "causative negative",
phrase: "active"
},
2017-03-18 19:25:26 +00:00
{
from: "plain" ,
to: "passive",
phrase: "passive"
},
{ // trick
from: "passive",
to: "passive",
phrase: "passive"
},
2017-03-18 19:25:26 +00:00
{
from: "passive negative" ,
to: "passive",
phrase: "affirmative"
},
{ // trick
from: "passive",
to: "passive",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive" ,
to: "passive",
phrase: "non-causative"
},
{ // trick
from: "passive",
to: "passive",
phrase: "non-causative"
},
2017-03-18 19:25:26 +00:00
{
from: "passive" ,
to: "passive negative",
phrase: "negative"
},
{ // trick
from: "passive negative",
to: "passive negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative" ,
to: "passive negative",
phrase: "passive"
},
{ // trick
from: "passive negative",
to: "passive negative",
phrase: "passive"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive negative" ,
to: "passive negative",
phrase: "non-causative"
},
{ // trick
from: "passive negative",
to: "passive negative",
phrase: "non-causative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative" ,
to: "causative passive",
phrase: "passive"
},
{ // trick
from: "causative passive",
to: "causative passive",
phrase: "passive"
},
2017-03-18 19:25:26 +00:00
{
from: "passive" ,
to: "causative passive",
phrase: "causative"
},
{ // trick
from: "causative passive",
to: "causative passive",
phrase: "causative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive negative" ,
to: "causative passive",
phrase: "affirmative"
},
{ // trick
from: "causative passive",
to: "causative passive",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative negative" ,
to: "causative passive negative",
phrase: "passive"
},
{ // trick
from: "causative passive negative",
to: "causative passive negative",
phrase: "passive"
},
2017-03-18 19:25:26 +00:00
{
from: "passive negative" ,
to: "causative passive negative",
phrase: "causative"
},
{ // trick
from: "causative passive negative",
to: "causative passive negative",
phrase: "causative"
},
2017-03-18 19:25:26 +00:00
{
from: "causative passive" ,
to: "causative passive negative",
phrase: "negative"
},
{ // trick
from: "causative passive negative",
to: "causative passive negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "plain",
to: "progressive",
phrase: "progressive"
2016-12-28 11:20:37 +00:00
},
2017-03-18 19:25:26 +00:00
{ // trick
from: "progressive",
to: "progressive",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive",
to: "progressive",
phrase: "plain"
},
{ // trick
from: "progressive",
to: "progressive",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive negative",
to: "progressive",
phrase: "affirmative"
},
{ // trick
from: "progressive",
to: "progressive",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past",
to: "progressive",
phrase: "present"
},
{ // trick
from: "progressive",
to: "progressive",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive",
to: "progressive negative",
phrase: "negative"
},
{ // trick
from: "progressive negative",
to: "progressive negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "negative",
to: "progressive negative",
phrase: "progressive"
},
{ // trick
from: "progressive negative",
to: "progressive negative",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past negative",
to: "progressive negative",
phrase: "present"
},
{ // trick
from: "progressive negative",
to: "progressive negative",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive negative",
to: "progressive negative",
phrase: "plain"
},
{ // trick
from: "progressive negative",
to: "progressive negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive",
to: "polite progressive",
phrase: "polite"
},
{ // trick
from: "polite progressive",
to: "polite progressive",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite",
to: "polite progressive",
phrase: "progressive"
},
{ // trick
from: "polite progressive",
to: "polite progressive",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive negative",
to: "polite progressive",
phrase: "affirmative"
},
{ // trick
from: "polite progressive",
to: "polite progressive",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past",
to: "polite progressive",
phrase: "present"
},
{ // trick
from: "polite progressive",
to: "polite progressive",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive",
to: "polite progressive negative",
phrase: "negative"
},
{ // trick
from: "polite progressive negative",
to: "polite progressive negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite negative",
to: "polite progressive negative",
phrase: "progressive"
},
{ // trick
from: "polite progressive negative",
to: "polite progressive negative",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive negative",
to: "polite progressive negative",
phrase: "polite"
},
{ // trick
from: "polite progressive negative",
to: "polite progressive negative",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past negative",
to: "polite progressive negative",
phrase: "present"
},
{ // trick
from: "polite progressive negative",
to: "polite progressive negative",
phrase: "present"
},
2017-03-18 19:25:26 +00:00
{
from: "past",
to: "progressive past",
phrase: "progressive"
},
{ // trick
from: "progressive past",
to: "progressive past",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive",
to: "progressive past",
phrase: "past"
},
{ // trick
from: "progressive past",
to: "progressive past",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past negative",
to: "progressive past",
phrase: "affirmative"
},
{ // trick
from: "progressive past",
to: "progressive past",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past",
to: "progressive past",
phrase: "plain"
},
{ // trick
from: "progressive past",
to: "progressive past",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "past negative",
to: "progressive past negative",
phrase: "progressive"
},
{ // trick
from: "progressive past negative",
to: "progressive past negative",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive negative",
to: "progressive past negative",
phrase: "past"
},
{ // trick
from: "progressive past negative",
to: "progressive past negative",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past",
to: "progressive past negative",
phrase: "negative"
},
{ // trick
from: "progressive past negative",
to: "progressive past negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past negative",
to: "progressive past negative",
phrase: "plain"
},
{ // trick
from: "progressive past negative",
to: "progressive past negative",
phrase: "plain"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past",
to: "polite progressive past",
phrase: "progressive"
},
{ // trick
from: "polite progressive past",
to: "polite progressive past",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive" ,
to: "polite progressive past",
phrase: "past"
},
{ // trick
from: "polite progressive past",
to: "polite progressive past",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past",
to: "polite progressive past",
phrase: "polite"
},
{ // trick
from: "polite progressive past",
to: "polite progressive past",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past negative",
to: "polite progressive past",
phrase: "affirmative"
},
{ // trick
from: "polite progressive past",
to: "polite progressive past",
phrase: "affirmative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite past negative",
to: "polite progressive past negative",
phrase: "progressive"
},
{ // trick
from: "polite progressive past negative",
to: "polite progressive past negative",
phrase: "progressive"
},
2017-03-18 19:25:26 +00:00
{
from: "progressive past negative",
to: "polite progressive past negative",
phrase: "polite"
},
{ // trick
from: "polite progressive past negative",
to: "polite progressive past negative",
phrase: "polite"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive past",
to: "polite progressive past negative",
phrase: "negative"
},
{ // trick
from: "polite progressive past negative",
to: "polite progressive past negative",
phrase: "negative"
},
2017-03-18 19:25:26 +00:00
{
from: "polite progressive negative",
to: "polite progressive past negative",
phrase: "past"
},
{ // trick
from: "polite progressive past negative",
to: "polite progressive past negative",
phrase: "past"
},
2017-03-18 19:25:26 +00:00
];
2016-11-22 00:22:00 +00:00
2016-12-27 19:15:38 +00:00
var log;
Array.prototype.randomElement = function () {
return this[Math.floor(Math.random() * this.length)]
}
// 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;
}
}
}(jQuery);
// From: http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area
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) {
pos = $(this).val().length + pos;
}
range.moveEnd('character', pos);
range.moveStart('character', pos);
range.select();
}
}
}(jQuery);
function resetLog() {
log = { "history": [] };
}
function getVerbForms(entry) {
function kanaForm(word) {
return word.split(/.\[([^\]]*)\]/).join("");
}
function kanjiForm(word) {
return word.split(/(.)\[[^\]]*\]/).join("");
}
var result = {
"kanji": { },
"hiragana": { },
"furigana": { }
};
2016-12-27 21:08:59 +00:00
Object.keys(words[entry].conjugations).forEach(function (key) {
result["kanji"][key] = kanjiForm(words[entry].conjugations[key]);
result["hiragana"][key] = kanaForm(words[entry].conjugations[key]);
result["furigana"][key] = words[entry].conjugations[key];
2016-12-27 19:15:38 +00:00
});
return result;
}
function wordWithFurigana(word) {
var bits = word.split(/(.)\[([^\]]*)\]/);
while (bits.length > 1) {
bits[0] = bits[0] + "<span tooltip='" + bits[2] + "'>" + bits[1] + "</span>" + bits[3];
bits.splice(1, 3);
}
return bits[0];
}
2016-12-15 22:50:32 +00:00
function processAnswerKey() {
var el = $('#answer');
var pos = el.getCursorPosition();
var val = el.val();
var last1 = val.slice(pos - 1, pos);
var last2 = val.slice(pos - 2, pos);
var last3 = val.slice(pos - 3, pos);
var replace1 = {
"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" : "ぽ",
"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" : "っ",
2016-12-27 19:15:38 +00:00
"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",
"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",
2016-12-15 22:50:32 +00:00
};
var replace3 = {
"kya" : "きゃ", "kyi" : "きぃ", "kyu" : "きゅ", "kye" : "きぇ", "kyo" : "きょ",
"sya" : "しゃ", "syi" : "しぃ", "syu" : "しゅ", "sye" : "しぇ", "syo" : "しょ",
"tya" : "ちゃ", "tyi" : "ちぃ", "tyu" : "ちゅ", "tye" : "ちぇ", "tyo" : "ちょ",
"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" : "つ",
};
if (replace3[last3]) {
val = val.slice(0, pos - 3) + replace3[last3] + val.slice(pos, -1);
el.val(val);
el.setCursorPosition(pos - 3 + replace3[last3].length);
} else if (replace2[last2]) {
val = val.slice(0, pos - 2) + replace2[last2] + val.slice(pos, -1);
el.val(val);
el.setCursorPosition(pos - 2 + replace2[last2].length);
} else if (replace1[last1]) {
val = val.slice(0, pos - 1) + replace1[last1] + val.slice(pos, -1);
el.val(val);
el.setCursorPosition(pos - 1 + replace1[last1].length);
}
}
2016-12-27 19:15:38 +00:00
function generateQuestion() {
2016-11-22 00:22:00 +00:00
2016-12-24 17:11:34 +00:00
var entry;
var to_form;
var from_form;
var forms;
2016-11-22 00:22:00 +00:00
2016-12-25 15:30:53 +00:00
var count = 0;
2016-12-24 17:11:34 +00:00
while (true) {
2016-12-25 21:35:29 +00:00
if (count++ == 10000) {
2016-12-25 15:30:53 +00:00
showSplash();
return;
}
2016-12-27 21:08:59 +00:00
entry = Object.keys(words).randomElement();
2017-03-18 19:25:26 +00:00
transformation = transformations.randomElement();
from_form = transformation.from;
to_form = transformation.to;
2016-12-24 17:11:34 +00:00
forms = getVerbForms(entry);
2016-12-25 15:30:53 +00:00
var valid = true;
var types = from_form.split(" ").concat(to_form.split(" "));
types.forEach(function (type) {
if (type != 'plain') {
if ($('#' + type).is(':checked') == false) {
valid = false;
}
}
});
2016-12-27 21:08:59 +00:00
if ($('#' + words[entry].group).is(':checked') == false) {
2016-12-25 15:51:49 +00:00
valid = false;
}
2016-12-25 15:30:53 +00:00
if (!forms["furigana"][from_form])
valid = false;
if (!forms["furigana"][to_form])
valid = false;
if (valid) {
2016-12-24 17:11:34 +00:00
break;
}
}
2016-12-10 01:10:03 +00:00
var word = forms["word"];
var kanjiForms = forms["kanji"];
var kanaForms = forms["hiragana"];
var furiganaForms = forms["furigana"];
2016-11-22 00:22:00 +00:00
2017-03-18 19:25:26 +00:00
var question = "What is the " + transformation.phrase + " form of " + wordWithFurigana(furiganaForms[from_form]) + "?";
2016-11-22 00:22:00 +00:00
var answer = kanjiForms[to_form];
var answer2 = kanaForms[to_form];
2016-12-10 01:10:03 +00:00
$('#question').html(question);
2016-11-26 16:45:32 +00:00
window.question = question;
window.word = word;
2016-12-16 13:30:14 +00:00
window.answer = kanjiForms[to_form];
window.answerWithFurigana = wordWithFurigana(furiganaForms[to_form]);
2016-11-22 00:22:00 +00:00
window.answer2 = answer2;
$('#next').prop('disabled', true);
$('#response').html("");
$('#message').html("");
2016-11-22 01:59:30 +00:00
$('#proceed').hide();
$('#input').show();
$('#answer').focus();
2016-11-26 16:45:32 +00:00
2016-12-15 22:50:32 +00:00
$('#answer').on('input', processAnswerKey);
2016-11-26 16:45:32 +00:00
if (log.start == undefined) {
log.start = Date.now();
}
2016-11-22 00:22:00 +00:00
}
function processAnswer() {
2016-12-10 01:10:03 +00:00
var response = $('#answer').val().trim();
if (response == "")
return;
2016-11-22 01:59:30 +00:00
var correct = ((response == window.answer) || (response == window.answer2));
var klass = correct ? "correct" : "incorrect";
2016-11-22 00:22:00 +00:00
2016-11-26 16:45:32 +00:00
log.history.push({
"question" : window.question,
"response" : response,
2016-12-16 13:30:14 +00:00
"answer" : window.answerWithFurigana,
2016-12-10 01:10:03 +00:00
"kana" : window.answer2,
2016-11-26 16:45:32 +00:00
"correct" : correct
});
2016-11-22 00:22:00 +00:00
$('#answer').val("");
2016-11-22 01:59:30 +00:00
$('#response').prop('class', klass).text(response);
2016-11-22 00:22:00 +00:00
$('#next').prop('disabled', false);
2016-11-22 01:59:30 +00:00
2016-11-22 00:22:00 +00:00
if ((response == window.answer) || (response == window.answer2)) {
2016-11-22 01:59:30 +00:00
$('#message').html("");
2016-11-22 00:22:00 +00:00
} else {
2016-12-16 13:30:14 +00:00
$('#message').html("<div>The correct answer is " + window.answerWithFurigana + "</div>");
2016-11-22 00:22:00 +00:00
}
2016-11-22 01:59:30 +00:00
$('#input').hide();
$('#proceed').show();
$('#proceed button').focus();
2016-11-26 16:45:32 +00:00
if (log.end == undefined) {
log.end = Date.now();
}
updateHistoryView(log);
}
function updateHistoryView(log) {
2016-12-10 01:10:03 +00:00
2016-11-26 16:45:32 +00:00
var review = $('<table>');
var total = 0;
var correct = 0;
2016-12-10 01:10:03 +00:00
var header_tr = $('<tr>');
header_tr.append($('<th>Question</th>'));
header_tr.append($('<th>Answer</th>'));
header_tr.append($('<th>Response</th>'));
review.append(header_tr);
2016-11-26 16:45:32 +00:00
log.history.forEach(function (entry) {
total++;
if (entry.correct) {
correct++;
}
var tr = $('<tr>');
var td1 = $('<td>');
var td2 = $('<td>');
var td3 = $('<td>');
2016-12-10 01:10:03 +00:00
td1.html(entry.question);
2016-12-16 18:13:14 +00:00
td2.html(entry.answer);
2016-11-26 16:45:32 +00:00
td3.text(entry.response);
tr.append(td1);
tr.append(td2);
tr.append(td3);
2016-12-10 01:10:03 +00:00
if (entry.correct) {
td3.append("<span class='answer-correct'> ○</span>");
} else {
td3.append("<span class='answer-wrong'> ×</span>");
}
2016-11-26 16:45:32 +00:00
review.append(tr);
});
$('#history').empty().append(review);
$('#history').append("<p>" + correct + " of " + total + " correct.</p>");
$('#history').append("<p>" + ((log.end - log.start) / 1000.0) + " seconds.</p>");
2016-11-22 01:59:30 +00:00
}
function proceed() {
if (log.history.length == $('#numQuestions').val()) {
endQuiz();
2016-11-26 16:45:32 +00:00
} else {
2016-12-27 19:15:38 +00:00
generateQuestion();
2016-11-26 16:45:32 +00:00
}
2016-11-22 00:22:00 +00:00
}
function showSplash() {
$('#splash').show();
$('#quizSection').hide();
$('#scoreSection').hide();
$('#go').focus();
}
function startQuiz() {
$('#splash').hide();
$('#quizSection').show();
$('#scoreSection').hide();
resetLog();
2016-12-27 19:15:38 +00:00
generateQuestion();
}
function endQuiz() {
$('#splash').hide();
$('#quizSection').hide();
$('#scoreSection').show();
$('#backToStart').focus();
}
$('window').ready(function() {
$('#go').click(startQuiz);
$('#backToStart').click(showSplash);
showSplash();
2016-11-22 00:22:00 +00:00
});