diff options
author | StefanVukovic99 <stefanvukovic44@gmail.com> | 2024-03-18 13:31:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 12:31:12 +0000 |
commit | 7681131782d958997663b1fb443a3e32e8eef550 (patch) | |
tree | cc156600e74f53b1f6d779ae5521b2ca665565b4 | |
parent | c26680fd7399e8e1fb5e3c10a3f72f592d59e370 (diff) |
add suru verb masu stem deinflection (#774)
-rw-r--r-- | ext/js/language/ja/japanese-transforms.json | 1 | ||||
-rw-r--r-- | test/language-transformer.test.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/js/language/ja/japanese-transforms.json b/ext/js/language/ja/japanese-transforms.json index 0812f01e..c5983526 100644 --- a/ext/js/language/ja/japanese-transforms.json +++ b/ext/js/language/ja/japanese-transforms.json @@ -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"]} diff --git a/test/language-transformer.test.js b/test/language-transformer.test.js index b682f66b..16f044c3 100644 --- a/test/language-transformer.test.js +++ b/test/language-transformer.test.js @@ -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'] |