Reduced tests to plain/polite/past/negative and te-form temporarily.

This commit is contained in:
doncr 2016-12-25 00:43:01 +00:00
parent 7be1f9c514
commit 8d4c49ab71
2 changed files with 103 additions and 73 deletions

View File

@ -15,6 +15,36 @@
<span>Number of Questions</span> <span>Number of Questions</span>
<input id="numQuestions" value="10"> <input id="numQuestions" value="10">
</div> </div>
<div>
<h2>Conjugation types</h2>
<ul>
<li><label><input type="checkbox" id="polite" checked="true"> Polite</label></li>
<li><label><input type="checkbox" id="negative" checked="true"> Negative</label></li>
<li><label><input type="checkbox" id="te-form"> て form</label></li>
<!--
<li><label><input type="checkbox" id="potential"> Potential</label></li>
<li><label><input type="checkbox" id="imperative"> Imperative</label></li>
<li><label><input type="checkbox" id="passive"> Passive</label></li>
<li><label><input type="checkbox" id="causative"> Causative</label></li>
-->
</ul>
</div>
<div>
<h2>Verb classes</h2>
<ul>
<li><label><input type="checkbox" id="godan" checked="true"> Godan verbs</label></li>
<li><label><input type="checkbox" id="godan-mu" checked="true"> Godan verbs with a mu ending</label></li>
<li><label><input type="checkbox" id="godan-ru" checked="true"> Godan verbs with a ru ending</label></li>
<li><label><input type="checkbox" id="godan-u" checked="true"> Godan verbs with an u ending</label></li>
<li><label><input type="checkbox" id="ichidan" checked="true"> Ichidan verbs</label></li>
<li><label><input type="checkbox" id="kuru" checked="true"> Kuru verb</label></li>
<li><label><input type="checkbox" id="iku" checked="true"> Iku verb</label></li>
<li><label><input type="checkbox" id="suru" checked="true"> Suru verbs</label></li>
</ul>
</div>
<button id="go">Go</button> <button id="go">Go</button>
<div><small> <div><small>

View File

@ -577,10 +577,10 @@ var verb_relative_form = {
"past": "present", "past": "present",
"polite": "plain", "polite": "plain",
"te-form": "plain", "te-form": "plain",
"potential": "plain", // "potential": "plain",
"imperative": "plain", // "imperative": "plain",
"causative": "plain", // "causative": "plain",
"passive": "plain", // "passive": "plain",
}, },
"negative": { "negative": {
@ -589,10 +589,10 @@ var verb_relative_form = {
"past negative": "present", "past negative": "present",
"polite negative": "plain", "polite negative": "plain",
"te-form negative": "plain", "te-form negative": "plain",
"potential negative": "plain", // "potential negative": "plain",
"imperative negative": "plain", // "imperative negative": "plain",
"causative negative": "plain", // "causative negative": "plain",
"passive negative": "plain", // "passive negative": "plain",
}, },
"past" : { "past" : {
@ -649,71 +649,71 @@ var verb_relative_form = {
"negative" : "て", "negative" : "て",
}, },
"potential" : { // "potential" : {
//
"plain" : "potential", // "plain" : "potential",
"potential negative" : "affirmative", // "potential negative" : "affirmative",
}, // },
//
"potential negative" : { // "potential negative" : {
//
"potential" : "negative", // "potential" : "negative",
"negative" : "potential", // "negative" : "potential",
}, // },
//
"imperative" : { // "imperative" : {
//
"plain" : "imperative", // "plain" : "imperative",
"imperative negative" : "affirmative", // "imperative negative" : "affirmative",
}, // },
//
"imperative negative" : { // "imperative negative" : {
//
"imperative" : "negative", // "imperative" : "negative",
"negative" : "imperative", // "negative" : "imperative",
}, // },
//
"causative" : { // "causative" : {
//
"plain" : "causative", // "plain" : "causative",
"causative negative" : "affirmative", // "causative negative" : "affirmative",
"causative passive" : "active", // "causative passive" : "active",
}, // },
//
"causative negative" : { // "causative negative" : {
//
"causative" : "negative", // "causative" : "negative",
"negative" : "causative", // "negative" : "causative",
"causative passive negative" : "active", // "causative passive negative" : "active",
}, // },
//
"passive" : { // "passive" : {
//
"plain" : "passive", // "plain" : "passive",
"passive negative" : "affirmative", // "passive negative" : "affirmative",
"causative passive" : "non-causative", // "causative passive" : "non-causative",
}, // },
//
"passive negative" : { // "passive negative" : {
//
"passive" : "negative", // "passive" : "negative",
"negative" : "passive", // "negative" : "passive",
"causative passive negative" : "non-causative" // "causative passive negative" : "non-causative"
}, // },
//
"causative passive" : { // "causative passive" : {
//
"causative" : "passive", // "causative" : "passive",
"passive" : "causative", // "passive" : "causative",
"causative passive negative" : "affirmative", // "causative passive negative" : "affirmative",
}, // },
//
"causative passive negative" : { // "causative passive negative" : {
//
"causative negative" : "passive", // "causative negative" : "passive",
"passive negative" : "causative", // "passive negative" : "causative",
"causative passive" : "negative", // "causative passive" : "negative",
}, // },
}; };
function wordWithFurigana(word) { function wordWithFurigana(word) {