From 4fa8542bb0ce5e122573e81b49a6ccedcdc95356 Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Thu, 5 Sep 2024 16:06:11 +0700 Subject: [PATCH] more irregular verbs --- ext/js/language/ja/japanese-transforms.js | 20 ++++++++++++++++++++ test/language/japanese-transforms.test.js | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/ext/js/language/ja/japanese-transforms.js b/ext/js/language/ja/japanese-transforms.js index 79189bf817..ea5c059421 100644 --- a/ext/js/language/ja/japanese-transforms.js +++ b/ext/js/language/ja/japanese-transforms.js @@ -544,8 +544,13 @@ export const japaneseTransforms = { suffixInflection('副うたら', '副う', [], ['v5']), suffixInflection('厭うたら', '厭う', [], ['v5']), suffixInflection('のたもうたら', 'のたまう', [], ['v5']), + suffixInflection('宣うたら', '宣う', [], ['v5']), + suffixInflection('曰うたら', '曰う', [], ['v5']), suffixInflection('たもうたら', 'たまう', [], ['v5']), + suffixInflection('給うたら', '給う', [], ['v5']), + suffixInflection('賜うたら', '賜う', [], ['v5']), suffixInflection('たゆとうたら', 'たゆたう', [], ['v5']), + suffixInflection('揺蕩うたら', '揺蕩う', [], ['v5']), suffixInflection('ましたら', 'ます', [], ['-masu']), ], }, @@ -597,8 +602,13 @@ export const japaneseTransforms = { suffixInflection('副うたり', '副う', [], ['v5']), suffixInflection('厭うたり', '厭う', [], ['v5']), suffixInflection('のたもうたり', 'のたまう', [], ['v5']), + suffixInflection('宣うたり', '宣う', [], ['v5']), + suffixInflection('曰うたり', '曰う', [], ['v5']), suffixInflection('たもうたり', 'たまう', [], ['v5']), + suffixInflection('給うたり', '給う', [], ['v5']), + suffixInflection('賜うたり', '賜う', [], ['v5']), suffixInflection('たゆとうたり', 'たゆたう', [], ['v5']), + suffixInflection('揺蕩うたり', '揺蕩う', [], ['v5']), ], }, '-te': { @@ -649,8 +659,13 @@ export const japaneseTransforms = { suffixInflection('副うて', '副う', ['-te'], ['v5']), suffixInflection('厭うて', '厭う', ['-te'], ['v5']), suffixInflection('のたもうて', 'のたまう', ['-te'], ['v5']), + suffixInflection('宣うて', '宣う', ['-te'], ['v5']), + suffixInflection('曰うて', '曰う', ['-te'], ['v5']), suffixInflection('たもうて', 'たまう', ['-te'], ['v5']), + suffixInflection('給うて', '給う', ['-te'], ['v5']), + suffixInflection('賜うて', '賜う', ['-te'], ['v5']), suffixInflection('たゆとうて', 'たゆたう', ['-te'], ['v5']), + suffixInflection('揺蕩うて', '揺蕩う', ['-te'], ['v5']), suffixInflection('まして', 'ます', [], ['-masu']), ], }, @@ -1172,8 +1187,13 @@ export const japaneseTransforms = { suffixInflection('副うた', '副う', ['past'], ['v5']), suffixInflection('厭うた', '厭う', ['past'], ['v5']), suffixInflection('のたもうた', 'のたまう', ['past'], ['v5']), + suffixInflection('宣うた', '宣う', ['past'], ['v5']), + suffixInflection('曰うた', '曰う', ['past'], ['v5']), suffixInflection('たもうた', 'たまう', ['past'], ['v5']), + suffixInflection('給うた', '給う', ['past'], ['v5']), + suffixInflection('賜うた', '賜う', ['past'], ['v5']), suffixInflection('たゆとうた', 'たゆたう', ['past'], ['v5']), + suffixInflection('揺蕩うた', '揺蕩う', ['past'], ['v5']), suffixInflection('ました', 'ます', ['past'], ['-masu']), suffixInflection('でした', '', ['past'], ['-masen']), suffixInflection('かった', '', ['past'], ['-masen', '-n']), diff --git a/test/language/japanese-transforms.test.js b/test/language/japanese-transforms.test.js index 528672768c..60c509701d 100644 --- a/test/language/japanese-transforms.test.js +++ b/test/language/japanese-transforms.test.js @@ -1244,11 +1244,31 @@ const tests = [ {term: 'のたまう', source: 'のたもうたら', rule: 'v5', reasons: ['-tara']}, {term: 'のたまう', source: 'のたもうたり', rule: 'v5', reasons: ['-tari']}, + {term: '宣う', source: '宣うて', rule: 'v5', reasons: ['-te']}, + {term: '宣う', source: '宣うた', rule: 'v5', reasons: ['-ta']}, + {term: '宣う', source: '宣うたら', rule: 'v5', reasons: ['-tara']}, + {term: '宣う', source: '宣うたり', rule: 'v5', reasons: ['-tari']}, + + {term: '曰う', source: '曰うて', rule: 'v5', reasons: ['-te']}, + {term: '曰う', source: '曰うた', rule: 'v5', reasons: ['-ta']}, + {term: '曰う', source: '曰うたら', rule: 'v5', reasons: ['-tara']}, + {term: '曰う', source: '曰うたり', rule: 'v5', reasons: ['-tari']}, + {term: 'たまう', source: 'たもうて', rule: 'v5', reasons: ['-te']}, {term: 'たまう', source: 'たもうた', rule: 'v5', reasons: ['-ta']}, {term: 'たまう', source: 'たもうたら', rule: 'v5', reasons: ['-tara']}, {term: 'たまう', source: 'たもうたり', rule: 'v5', reasons: ['-tari']}, + {term: '給う', source: '給うて', rule: 'v5', reasons: ['-te']}, + {term: '給う', source: '給うた', rule: 'v5', reasons: ['-ta']}, + {term: '給う', source: '給うたら', rule: 'v5', reasons: ['-tara']}, + {term: '給う', source: '給うたり', rule: 'v5', reasons: ['-tari']}, + + {term: '賜う', source: '賜うて', rule: 'v5', reasons: ['-te']}, + {term: '賜う', source: '賜うた', rule: 'v5', reasons: ['-ta']}, + {term: '賜う', source: '賜うたら', rule: 'v5', reasons: ['-tara']}, + {term: '賜う', source: '賜うたり', rule: 'v5', reasons: ['-tari']}, + {term: 'たゆたう', source: 'たゆとうて', rule: 'v5', reasons: ['-te']}, {term: 'たゆたう', source: 'たゆとうた', rule: 'v5', reasons: ['-ta']}, {term: 'たゆたう', source: 'たゆとうたら', rule: 'v5', reasons: ['-tara']},