From df9436bc3e7f615062198052a9cb0659e7d61590 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 8 Dec 2020 22:39:06 -0500 Subject: Add classic suru deinflections (#1089) * Add classic suru deinflections * Add tests --- test/test-deinflector.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test-deinflector.js b/test/test-deinflector.js index 2fee9fc3..5133b9f9 100644 --- a/test/test-deinflector.js +++ b/test/test-deinflector.js @@ -480,9 +480,10 @@ function testDeinflections() { {term: '為る', source: '為た', rule: 'vs', reasons: ['past']}, {term: '為る', source: '為ました', rule: 'vs', reasons: ['polite past']}, {term: '為る', source: '為て', rule: 'vs', reasons: ['-te']}, - // ['potential'] + {term: '為る', source: '為られる', rule: 'vs', reasons: ['potential or passive']}, {term: '為る', source: '為れる', rule: 'vs', reasons: ['passive']}, {term: '為る', source: '為せる', rule: 'vs', reasons: ['causative']}, + {term: '為る', source: '為させる', rule: 'vs', reasons: ['causative']}, {term: '為る', source: '為せられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, {term: '為る', source: '為ろ', rule: 'vs', reasons: ['imperative']}, {term: '為る', source: '為ない', rule: 'vs', reasons: ['negative']}, @@ -521,9 +522,10 @@ function testDeinflections() { {term: 'する', source: 'した', rule: 'vs', reasons: ['past']}, {term: 'する', source: 'しました', rule: 'vs', reasons: ['polite past']}, {term: 'する', source: 'して', rule: 'vs', reasons: ['-te']}, - // ['potential'] + {term: 'する', source: 'せられる', rule: 'vs', reasons: ['potential or passive']}, {term: 'する', source: 'される', rule: 'vs', reasons: ['passive']}, {term: 'する', source: 'させる', rule: 'vs', reasons: ['causative']}, + {term: 'する', source: 'せさせる', rule: 'vs', reasons: ['causative']}, {term: 'する', source: 'させられる', rule: 'vs', reasons: ['causative', 'potential or passive']}, {term: 'する', source: 'しろ', rule: 'vs', reasons: ['imperative']}, {term: 'する', source: 'しない', rule: 'vs', reasons: ['negative']}, -- cgit v1.2.3