aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/data/deinflect.json3
-rw-r--r--test/test-deinflector.js6
2 files changed, 8 insertions, 1 deletions
diff --git a/ext/data/deinflect.json b/ext/data/deinflect.json
index a1ec6eb0..b194f390 100644
--- a/ext/data/deinflect.json
+++ b/ext/data/deinflect.json
@@ -588,6 +588,9 @@
"-ki": [
{"kanaIn": "き", "kanaOut": "い", "rulesIn": [], "rulesOut": ["adj-i"]}
],
+ "-ge": [
+ {"kanaIn": "しげ", "kanaOut": "しい", "rulesIn": [], "rulesOut": ["adj-i"]}
+ ],
"-e": [
{"kanaIn": "ねえ", "kanaOut": "ない", "rulesIn": [], "rulesOut": ["adj-i"]},
{"kanaIn": "めえ", "kanaOut": "むい", "rulesIn": [], "rulesOut": ["adj-i"]},
diff --git a/test/test-deinflector.js b/test/test-deinflector.js
index a5d6c06f..ac655e63 100644
--- a/test/test-deinflector.js
+++ b/test/test-deinflector.js
@@ -66,6 +66,7 @@ function testDeinflections() {
{term: '愛しい', source: '愛しくありません', rule: 'adj-i', reasons: ['polite negative']},
{term: '愛しい', source: '愛しくありませんでした', rule: 'adj-i', reasons: ['polite past negative']},
{term: '愛しい', source: '愛しき', rule: 'adj-i', reasons: ['-ki']},
+ {term: '愛しい', source: '愛しげ', rule: 'adj-i', reasons: ['-ge']},
// Common verbs
{term: '食べる', source: '食べる', rule: 'v1', reasons: []},
@@ -843,7 +844,10 @@ function testDeinflections() {
{term: 'くる', source: 'くられない', rule: 'vk'},
{term: 'くる', source: 'くられない', rule: 'vk'},
{term: 'くる', source: 'くさせない', rule: 'vk'},
- {term: 'くる', source: 'くさせられない', rule: 'vk'}
+ {term: 'くる', source: 'くさせられない', rule: 'vk'},
+
+ {term: 'かわいい', source: 'かわいげ', rule: 'adj-i', reasons: ['-ge']},
+ {term: '可愛い', source: 'かわいげ', rule: 'adj-i', reasons: ['-ge']}
]
},
{