aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-12 10:17:25 -0500
committerGitHub <noreply@github.com>2020-12-12 10:17:25 -0500
commitddb71af6bd8092cfed9f91401d5ecded6ef4c4b6 (patch)
treebee324abb2ad3afbed21ec76800c249dbf640e80 /test
parent83ab864b98a579969d815225f03bc1627b88b80d (diff)
Add zuru deinflections (#1091)
* Update deinflector rule types * Add deinflection rules for zuru verbs * Add tests
Diffstat (limited to 'test')
-rw-r--r--test/test-deinflector.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/test/test-deinflector.js b/test/test-deinflector.js
index eb932fc4..d8705bf2 100644
--- a/test/test-deinflector.js
+++ b/test/test-deinflector.js
@@ -688,6 +688,54 @@ function testDeinflections() {
{term: 'くる', source: 'きてる', rule: 'vk', reasons: ['-te', 'progressive or perfect']},
{term: 'くる', source: 'きとる', rule: 'vk', reasons: ['-te', 'progressive or perfect']},
+ // Zuru verbs
+ {term: '論ずる', source: '論ずる', rule: 'vz', reasons: []},
+ {term: '論ずる', source: '論じます', rule: 'vz', reasons: ['polite']},
+ {term: '論ずる', source: '論じた', rule: 'vz', reasons: ['past']},
+ {term: '論ずる', source: '論じました', rule: 'vz', reasons: ['polite past']},
+ {term: '論ずる', source: '論じて', rule: 'vz', reasons: ['-te']},
+ {term: '論ずる', source: '論ぜられる', rule: 'vz', reasons: ['potential or passive']},
+ {term: '論ずる', source: '論じされる', rule: 'vz', reasons: ['passive']},
+ {term: '論ずる', source: '論ぜされる', rule: 'vz', reasons: ['passive']},
+ {term: '論ずる', source: '論じさせる', rule: 'vz', reasons: ['causative']},
+ {term: '論ずる', source: '論ぜさせる', rule: 'vz', reasons: ['causative']},
+ {term: '論ずる', source: '論じさせられる', rule: 'vz', reasons: ['causative', 'potential or passive']},
+ {term: '論ずる', source: '論ぜさせられる', rule: 'vz', reasons: ['causative', 'potential or passive']},
+ {term: '論ずる', source: '論じろ', rule: 'vz', reasons: ['imperative']},
+ {term: '論ずる', source: '論じない', rule: 'vz', reasons: ['negative']},
+ {term: '論ずる', source: '論じません', rule: 'vz', reasons: ['polite negative']},
+ {term: '論ずる', source: '論じなかった', rule: 'vz', reasons: ['negative', 'past']},
+ {term: '論ずる', source: '論じませんでした', rule: 'vz', reasons: ['polite past negative']},
+ {term: '論ずる', source: '論じなくて', rule: 'vz', reasons: ['negative', '-te']},
+ {term: '論ずる', source: '論ぜられない', rule: 'vz', reasons: ['potential or passive', 'negative']},
+ {term: '論ずる', source: '論じされない', rule: 'vz', reasons: ['passive', 'negative']},
+ {term: '論ずる', source: '論ぜされない', rule: 'vz', reasons: ['passive', 'negative']},
+ {term: '論ずる', source: '論じさせない', rule: 'vz', reasons: ['causative', 'negative']},
+ {term: '論ずる', source: '論ぜさせない', rule: 'vz', reasons: ['causative', 'negative']},
+ {term: '論ずる', source: '論じさせられない', rule: 'vz', reasons: ['causative', 'potential or passive', 'negative']},
+ {term: '論ずる', source: '論ぜさせられない', rule: 'vz', reasons: ['causative', 'potential or passive', 'negative']},
+ {term: '論ずる', source: '論ずるな', rule: 'vz', reasons: ['imperative negative']},
+
+ {term: '論ずる', source: '論ずれば', rule: 'vz', reasons: ['-ba']},
+ {term: '論ずる', source: '論じちゃう', rule: 'vz', reasons: ['-chau']},
+ {term: '論ずる', source: '論じなさい', rule: 'vz', reasons: ['-nasai']},
+ {term: '論ずる', source: '論じそう', rule: 'vz', reasons: ['-sou']},
+ {term: '論ずる', source: '論じすぎる', rule: 'vz', reasons: ['-sugiru']},
+ {term: '論ずる', source: '論じたい', rule: 'vz', reasons: ['-tai']},
+ {term: '論ずる', source: '論じたら', rule: 'vz', reasons: ['-tara']},
+ {term: '論ずる', source: '論じたり', rule: 'vz', reasons: ['-tari']},
+ {term: '論ずる', source: '論ぜず', rule: 'vz', reasons: ['-zu']},
+ {term: '論ずる', source: '論ぜぬ', rule: 'vz', reasons: ['-nu']},
+ // ['masu stem']
+ {term: '論ずる', source: '論じましょう', rule: 'vz', reasons: ['polite volitional']},
+ {term: '論ずる', source: '論じよう', rule: 'vz', reasons: ['volitional']},
+ // ['causative passive']
+ {term: '論ずる', source: '論じとく', rule: 'vz', reasons: ['-toku']},
+ {term: '論ずる', source: '論じている', rule: 'vz', reasons: ['-te', 'progressive or perfect']},
+ {term: '論ずる', source: '論じておる', rule: 'vz', reasons: ['-te', 'progressive or perfect']},
+ {term: '論ずる', source: '論じてる', rule: 'vz', reasons: ['-te', 'progressive or perfect']},
+ {term: '論ずる', source: '論じとる', rule: 'vz', reasons: ['-te', 'progressive or perfect']},
+
// Uncommon irregular verbs
{term: 'のたまう', source: 'のたもうて', rule: 'v5', reasons: ['-te']},
{term: 'のたまう', source: 'のたもうた', rule: 'v5', reasons: ['past']},