Skip to content

Commit

Permalink
add suru verb masu stem deinflection (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 authored Mar 18, 2024
1 parent c26680f commit 7681131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ext/js/language/ja/japanese-transforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
{"suffixIn": "", "suffixOut": "", "conditionsIn": [], "conditionsOut": ["v5"]},
{"suffixIn": "", "suffixOut": "", "conditionsIn": [], "conditionsOut": ["v5"]},
{"suffixIn": "", "suffixOut": "", "conditionsIn": [], "conditionsOut": ["v5"]},
{"suffixIn": "", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]},
{"suffixIn": "", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]},
{"suffixIn": "", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]},
{"suffixIn": "", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]}
Expand Down
2 changes: 1 addition & 1 deletion test/language-transformer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ describe('LanguageTransformer', () => {
{term: 'する', source: 'せぬ', rule: 'vs', reasons: ['-nu']},
{term: 'する', source: 'せざる', rule: 'vs', reasons: ['-zaru']},
{term: 'する', source: 'せねば', rule: 'vs', reasons: ['-neba']},
// ['masu stem']
{term: 'する', source: 'し', rule: 'vs', reasons: ['masu stem']},
{term: 'する', source: 'しましょう', rule: 'vs', reasons: ['polite', 'volitional']},
{term: 'する', source: 'しよう', rule: 'vs', reasons: ['volitional']},
// ['causative passive']
Expand Down

0 comments on commit 7681131

Please sign in to comment.