え deinflection (#1343)
* Add -e deinflections * Add tests * Add more rules for double え
This commit is contained in:
parent
ace6e92d55
commit
c6315cdb8c
@ -586,5 +586,31 @@
|
|||||||
],
|
],
|
||||||
"-ki": [
|
"-ki": [
|
||||||
{"kanaIn": "き", "kanaOut": "い", "rulesIn": [], "rulesOut": ["adj-i"]}
|
{"kanaIn": "き", "kanaOut": "い", "rulesIn": [], "rulesOut": ["adj-i"]}
|
||||||
|
],
|
||||||
|
"-e": [
|
||||||
|
{"kanaIn": "ねえ", "kanaOut": "ない", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "めえ", "kanaOut": "むい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "みい", "kanaOut": "むい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ちぇえ", "kanaOut": "つい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ちい", "kanaOut": "つい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "せえ", "kanaOut": "すい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ええ", "kanaOut": "いい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ええ", "kanaOut": "わい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ええ", "kanaOut": "よい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "いぇえ", "kanaOut": "よい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "うぇえ", "kanaOut": "わい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "けえ", "kanaOut": "かい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "げえ", "kanaOut": "がい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "げえ", "kanaOut": "ごい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "せえ", "kanaOut": "さい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "めえ", "kanaOut": "まい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ぜえ", "kanaOut": "ずい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "っぜえ", "kanaOut": "ずい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "れえ", "kanaOut": "らい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "れえ", "kanaOut": "らい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "ちぇえ", "kanaOut": "ちゃい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "でえ", "kanaOut": "どい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "れえ", "kanaOut": "れい", "rulesIn": [], "rulesOut": ["adj-i"]},
|
||||||
|
{"kanaIn": "べえ", "kanaOut": "ばい", "rulesIn": [], "rulesOut": ["adj-i"]}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -844,6 +844,38 @@ function testDeinflections() {
|
|||||||
{term: 'くる', source: 'くさせない', rule: 'vk'},
|
{term: 'くる', source: 'くさせない', rule: 'vk'},
|
||||||
{term: 'くる', source: 'くさせられない', rule: 'vk'}
|
{term: 'くる', source: 'くさせられない', rule: 'vk'}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
valid: true,
|
||||||
|
tests: [
|
||||||
|
// -e
|
||||||
|
{term: 'すごい', source: 'すげえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'やばい', source: 'やべえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'うるさい', source: 'うるせえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'ひどい', source: 'ひでえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'ない', source: 'ねえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'できる', source: 'できねえ', rule: 'v1', reasons: ['negative', '-e']},
|
||||||
|
{term: 'しんじる', source: 'しんじねえ', rule: 'v1', reasons: ['negative', '-e']},
|
||||||
|
{term: 'さむい', source: 'さめえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'さむい', source: 'さみい', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'あつい', source: 'あちぇえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'あつい', source: 'あちい', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'やすい', source: 'やせえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'たかい', source: 'たけえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'かわいい', source: 'かわええ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'つよい', source: 'ついぇえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'こわい', source: 'こうぇえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'みじかい', source: 'みじけえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'ながい', source: 'なげえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'くさい', source: 'くせえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'うまい', source: 'うめえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'でかい', source: 'でけえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'まずい', source: 'まっぜえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'ちっちゃい', source: 'ちっちぇえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'あかい', source: 'あけえ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'こわい', source: 'こええ', rule: 'adj-i', reasons: ['-e']},
|
||||||
|
{term: 'つよい', source: 'つええ', rule: 'adj-i', reasons: ['-e']}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user