summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/data/deinflect.json2
-rw-r--r--test/deinflector.test.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/data/deinflect.json b/ext/data/deinflect.json
index 00775627..49ad4b72 100644
--- a/ext/data/deinflect.json
+++ b/ext/data/deinflect.json
@@ -538,6 +538,8 @@
{"kanaIn": "ねる", "kanaOut": "ぬ", "rulesIn": ["v1"], "rulesOut": ["v5"]},
{"kanaIn": "べる", "kanaOut": "ぶ", "rulesIn": ["v1"], "rulesOut": ["v5"]},
{"kanaIn": "める", "kanaOut": "む", "rulesIn": ["v1"], "rulesOut": ["v5"]},
+ {"kanaIn": "できる", "kanaOut": "する", "rulesIn": ["v1"], "rulesOut": ["vs"]},
+ {"kanaIn": "出来る", "kanaOut": "する", "rulesIn": ["v1"], "rulesOut": ["vs"]},
{"kanaIn": "これる", "kanaOut": "くる", "rulesIn": ["v1"], "rulesOut": ["vk"]},
{"kanaIn": "来れる", "kanaOut": "来る", "rulesIn": ["v1"], "rulesOut": ["vk"]},
{"kanaIn": "來れる", "kanaOut": "來る", "rulesIn": ["v1"], "rulesOut": ["vk"]}
diff --git a/test/deinflector.test.js b/test/deinflector.test.js
index 1d7a39cf..7ef8e6dd 100644
--- a/test/deinflector.test.js
+++ b/test/deinflector.test.js
@@ -562,6 +562,8 @@ function testDeinflections() {
{term: 'する', source: 'した', rule: 'vs', reasons: ['past']},
{term: 'する', source: 'しました', rule: 'vs', reasons: ['polite past']},
{term: 'する', source: 'して', rule: 'vs', reasons: ['-te']},
+ {term: 'する', source: 'できる', rule: 'vs', reasons: ['potential']},
+ {term: 'する', source: '出来る', rule: 'vs', reasons: ['potential']},
{term: 'する', source: 'せられる', rule: 'vs', reasons: ['potential or passive']},
{term: 'する', source: 'される', rule: 'vs', reasons: ['passive']},
{term: 'する', source: 'させる', rule: 'vs', reasons: ['causative']},