From ee2b425ffea94c069d48b6cebcc68352f05c3d50 Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Mon, 10 Jun 2024 21:57:08 +0200 Subject: fix -masen verbs being deinflected as negative potential polite (#1046) * test * fix * positive test --- test/language/japanese-transforms.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/language/japanese-transforms.test.js b/test/language/japanese-transforms.test.js index d0ff131e..f62eef0f 100644 --- a/test/language/japanese-transforms.test.js +++ b/test/language/japanese-transforms.test.js @@ -316,6 +316,8 @@ const tests = [ {term: '話す', source: '話してる', rule: 'v5', reasons: ['-te', 'progressive or perfect']}, {term: '話す', source: '話しとる', rule: 'v5', reasons: ['-te', 'progressive or perfect']}, {term: '話す', source: '話してしまう', rule: 'v5', reasons: ['-te', '-shimau']}, + + {term: '増す', source: '増せん', rule: 'v5', reasons: ['potential', '-n']}, ], }, { @@ -1097,10 +1099,12 @@ const tests = [ ], }, { - category: 'incorrect -te rule chain', + category: 'incorrect chains', valid: false, tests: [ {term: '食べる', source: '食べて', rule: null, reasons: ['-te', 'progressive or perfect', 'masu stem']}, + + {term: 'なる', source: 'なりません', rule: null, reasons: ['polite', 'potential', '-n']}, ], }, // Kansai-ben -- cgit v1.2.3