aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bg/lang/deinflect.json4
-rw-r--r--test/test-deinflector.js6
2 files changed, 8 insertions, 2 deletions
diff --git a/ext/bg/lang/deinflect.json b/ext/bg/lang/deinflect.json
index 914c9947..f51cd86f 100644
--- a/ext/bg/lang/deinflect.json
+++ b/ext/bg/lang/deinflect.json
@@ -257,6 +257,8 @@
{"kanaIn": "わせる", "kanaOut": "う", "rulesIn": ["v1"], "rulesOut": ["v5"]},
{"kanaIn": "させる", "kanaOut": "する", "rulesIn": ["v1"], "rulesOut": ["vs"]},
{"kanaIn": "為せる", "kanaOut": "為る", "rulesIn": ["v1"], "rulesOut": ["vs"]},
+ {"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"]}
@@ -496,6 +498,8 @@
],
"potential or passive": [
{"kanaIn": "られる", "kanaOut": "る", "rulesIn": ["v1"], "rulesOut": ["v1"]},
+ {"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/test-deinflector.js b/test/test-deinflector.js
index 2fee9fc3..5133b9f9 100644
--- a/test/test-deinflector.js
+++ b/test/test-deinflector.js
@@ -480,9 +480,10 @@ function testDeinflections() {
{term: '為る', source: '為た', rule: 'vs', reasons: ['past']},
{term: '為る', source: '為ました', rule: 'vs', reasons: ['polite past']},
{term: '為る', source: '為て', rule: 'vs', reasons: ['-te']},
- // ['potential']
+ {term: '為る', source: '為られる', rule: 'vs', reasons: ['potential or passive']},
{term: '為る', source: '為れる', rule: 'vs', reasons: ['passive']},
{term: '為る', source: '為せる', rule: 'vs', reasons: ['causative']},
+ {term: '為る', source: '為させる', rule: 'vs', reasons: ['causative']},
{term: '為る', source: '為せられる', rule: 'vs', reasons: ['causative', 'potential or passive']},
{term: '為る', source: '為ろ', rule: 'vs', reasons: ['imperative']},
{term: '為る', source: '為ない', rule: 'vs', reasons: ['negative']},
@@ -521,9 +522,10 @@ function testDeinflections() {
{term: 'する', source: 'した', rule: 'vs', reasons: ['past']},
{term: 'する', source: 'しました', rule: 'vs', reasons: ['polite past']},
{term: 'する', source: 'して', rule: 'vs', reasons: ['-te']},
- // ['potential']
+ {term: 'する', source: 'せられる', rule: 'vs', reasons: ['potential or passive']},
{term: 'する', source: 'される', rule: 'vs', reasons: ['passive']},
{term: 'する', source: 'させる', rule: 'vs', reasons: ['causative']},
+ {term: 'する', source: 'せさせる', rule: 'vs', reasons: ['causative']},
{term: 'する', source: 'させられる', rule: 'vs', reasons: ['causative', 'potential or passive']},
{term: 'する', source: 'しろ', rule: 'vs', reasons: ['imperative']},
{term: 'する', source: 'しない', rule: 'vs', reasons: ['negative']},