Skip to content

Commit

Permalink
more irregular verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 5, 2024
1 parent bddbe43 commit 4fa8542
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ext/js/language/ja/japanese-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
],
},
Expand Down Expand Up @@ -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': {
Expand Down Expand Up @@ -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']),
],
},
Expand Down Expand Up @@ -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']),
Expand Down
20 changes: 20 additions & 0 deletions test/language/japanese-transforms.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']},
Expand Down

0 comments on commit 4fa8542

Please sign in to comment.