diff options
Diffstat (limited to 'ext/js/language/ja')
-rw-r--r-- | ext/js/language/ja/japanese-transforms.js | 1033 | ||||
-rw-r--r-- | ext/js/language/ja/japanese-transforms.json | 1013 |
2 files changed, 1033 insertions, 1013 deletions
diff --git a/ext/js/language/ja/japanese-transforms.js b/ext/js/language/ja/japanese-transforms.js new file mode 100644 index 00000000..f789d007 --- /dev/null +++ b/ext/js/language/ja/japanese-transforms.js @@ -0,0 +1,1033 @@ +/* + * Copyright (C) 2024 Yomitan Authors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +import {suffixInflection} from '../language-transforms.js'; + +/** @type {import('language-transformer').LanguageTransformDescriptor} */ +export const japaneseTransforms = { + language: 'ja', + conditions: { + 'v': { + name: 'Verb', + i18n: [ + { + language: 'ja', + name: '動詞' + } + ], + isDictionaryForm: false, + subConditions: ['v1', 'v5', 'vk', 'vs', 'vz'] + }, + 'v1': { + name: 'Ichidan verb', + i18n: [ + { + language: 'ja', + name: '一段動詞' + } + ], + isDictionaryForm: true, + subConditions: ['v1d', 'v1p'] + }, + 'v1d': { + name: 'Ichidan verb, dictionary form', + i18n: [ + { + language: 'ja', + name: '一段動詞、辞書形' + } + ], + isDictionaryForm: false + }, + 'v1p': { + name: 'Ichidan verb, progressive or perfect form', + i18n: [ + { + language: 'ja', + name: '一段動詞、進行形または完了形' + } + ], + isDictionaryForm: false + }, + 'v5': { + name: 'Godan verb', + i18n: [ + { + language: 'ja', + name: '五段動詞' + } + ], + isDictionaryForm: true + }, + 'vk': { + name: 'Kuru verb', + i18n: [ + { + language: 'ja', + name: '来る動詞' + } + ], + isDictionaryForm: true + }, + 'vs': { + name: 'Suru verb', + i18n: [ + { + language: 'ja', + name: 'する動詞' + } + ], + isDictionaryForm: true + }, + 'vz': { + name: 'Zuru verb', + i18n: [ + { + language: 'ja', + name: 'ずる動詞' + } + ], + isDictionaryForm: true + }, + 'adj-i': { + name: 'Adjective with i ending', + i18n: [ + { + language: 'ja', + name: '形容詞' + } + ], + isDictionaryForm: true + }, + '-te': { + name: 'Intermediate -te endings for progressive or perfect tense', + isDictionaryForm: false + }, + 'adv': { + name: 'Intermediate -ku endings for adverbs', + isDictionaryForm: false + }, + 'past': { + name: '-ta past form ending', + isDictionaryForm: false + } + }, + transforms: [ + { + name: '-ba', + description: 'Conditional', + i18n: [ + { + language: 'ja', + name: 'ば', + description: '仮定形' + } + ], + rules: [ + suffixInflection('ければ', 'い', [], ['adj-i']), + suffixInflection('えば', 'う', [], ['v5']), + suffixInflection('けば', 'く', [], ['v5']), + suffixInflection('げば', 'ぐ', [], ['v5']), + suffixInflection('せば', 'す', [], ['v5']), + suffixInflection('てば', 'つ', [], ['v5']), + suffixInflection('ねば', 'ぬ', [], ['v5']), + suffixInflection('べば', 'ぶ', [], ['v5']), + suffixInflection('めば', 'む', [], ['v5']), + suffixInflection('れば', 'る', [], ['v1', 'v5', 'vk', 'vs', 'vz']) + ] + }, + { + name: '-chau', + rules: [ + suffixInflection('ちゃう', 'る', ['v5'], ['v1']), + suffixInflection('いじゃう', 'ぐ', ['v5'], ['v5']), + suffixInflection('いちゃう', 'く', ['v5'], ['v5']), + suffixInflection('しちゃう', 'す', ['v5'], ['v5']), + suffixInflection('っちゃう', 'う', ['v5'], ['v5']), + suffixInflection('っちゃう', 'く', ['v5'], ['v5']), + suffixInflection('っちゃう', 'つ', ['v5'], ['v5']), + suffixInflection('っちゃう', 'る', ['v5'], ['v5']), + suffixInflection('んじゃう', 'ぬ', ['v5'], ['v5']), + suffixInflection('んじゃう', 'ぶ', ['v5'], ['v5']), + suffixInflection('んじゃう', 'む', ['v5'], ['v5']), + suffixInflection('じちゃう', 'ずる', ['v5'], ['vz']), + suffixInflection('しちゃう', 'する', ['v5'], ['vs']), + suffixInflection('為ちゃう', '為る', ['v5'], ['vs']), + suffixInflection('きちゃう', 'くる', ['v5'], ['vk']), + suffixInflection('来ちゃう', '来る', ['v5'], ['vk']), + suffixInflection('來ちゃう', '來る', ['v5'], ['vk']) + ] + }, + { + name: '-chimau', + rules: [ + suffixInflection('ちまう', 'る', ['v5'], ['v1']), + suffixInflection('いじまう', 'ぐ', ['v5'], ['v5']), + suffixInflection('いちまう', 'く', ['v5'], ['v5']), + suffixInflection('しちまう', 'す', ['v5'], ['v5']), + suffixInflection('っちまう', 'う', ['v5'], ['v5']), + suffixInflection('っちまう', 'く', ['v5'], ['v5']), + suffixInflection('っちまう', 'つ', ['v5'], ['v5']), + suffixInflection('っちまう', 'る', ['v5'], ['v5']), + suffixInflection('んじまう', 'ぬ', ['v5'], ['v5']), + suffixInflection('んじまう', 'ぶ', ['v5'], ['v5']), + suffixInflection('んじまう', 'む', ['v5'], ['v5']), + suffixInflection('じちまう', 'ずる', ['v5'], ['vz']), + suffixInflection('しちまう', 'する', ['v5'], ['vs']), + suffixInflection('為ちまう', '為る', ['v5'], ['vs']), + suffixInflection('きちまう', 'くる', ['v5'], ['vk']), + suffixInflection('来ちまう', '来る', ['v5'], ['vk']), + suffixInflection('來ちまう', '來る', ['v5'], ['vk']) + ] + }, + { + name: '-shimau', + rules: [ + suffixInflection('てしまう', 'て', ['v5'], ['-te']), + suffixInflection('でしまう', 'で', ['v5'], ['-te']) + ] + }, + { + name: '-nasai', + rules: [ + suffixInflection('なさい', 'る', [], ['v1']), + suffixInflection('いなさい', 'う', [], ['v5']), + suffixInflection('きなさい', 'く', [], ['v5']), + suffixInflection('ぎなさい', 'ぐ', [], ['v5']), + suffixInflection('しなさい', 'す', [], ['v5']), + suffixInflection('ちなさい', 'つ', [], ['v5']), + suffixInflection('になさい', 'ぬ', [], ['v5']), + suffixInflection('びなさい', 'ぶ', [], ['v5']), + suffixInflection('みなさい', 'む', [], ['v5']), + suffixInflection('りなさい', 'る', [], ['v5']), + suffixInflection('じなさい', 'ずる', [], ['vz']), + suffixInflection('しなさい', 'する', [], ['vs']), + suffixInflection('為なさい', '為る', [], ['vs']), + suffixInflection('きなさい', 'くる', [], ['vk']), + suffixInflection('来なさい', '来る', [], ['vk']), + suffixInflection('來なさい', '來る', [], ['vk']) + ] + }, + { + name: '-sou', + rules: [ + suffixInflection('そう', 'い', [], ['adj-i']), + suffixInflection('そう', 'る', [], ['v1']), + suffixInflection('いそう', 'う', [], ['v5']), + suffixInflection('きそう', 'く', [], ['v5']), + suffixInflection('ぎそう', 'ぐ', [], ['v5']), + suffixInflection('しそう', 'す', [], ['v5']), + suffixInflection('ちそう', 'つ', [], ['v5']), + suffixInflection('にそう', 'ぬ', [], ['v5']), + suffixInflection('びそう', 'ぶ', [], ['v5']), + suffixInflection('みそう', 'む', [], ['v5']), + suffixInflection('りそう', 'る', [], ['v5']), + suffixInflection('じそう', 'ずる', [], ['vz']), + suffixInflection('しそう', 'する', [], ['vs']), + suffixInflection('為そう', '為る', [], ['vs']), + suffixInflection('きそう', 'くる', [], ['vk']), + suffixInflection('来そう', '来る', [], ['vk']), + suffixInflection('來そう', '來る', [], ['vk']) + ] + }, + { + name: '-sugiru', + rules: [ + suffixInflection('すぎる', 'い', ['v1'], ['adj-i']), + suffixInflection('すぎる', 'る', ['v1'], ['v1']), + suffixInflection('いすぎる', 'う', ['v1'], ['v5']), + suffixInflection('きすぎる', 'く', ['v1'], ['v5']), + suffixInflection('ぎすぎる', 'ぐ', ['v1'], ['v5']), + suffixInflection('しすぎる', 'す', ['v1'], ['v5']), + suffixInflection('ちすぎる', 'つ', ['v1'], ['v5']), + suffixInflection('にすぎる', 'ぬ', ['v1'], ['v5']), + suffixInflection('びすぎる', 'ぶ', ['v1'], ['v5']), + suffixInflection('みすぎる', 'む', ['v1'], ['v5']), + suffixInflection('りすぎる', 'る', ['v1'], ['v5']), + suffixInflection('じすぎる', 'ずる', ['v1'], ['vz']), + suffixInflection('しすぎる', 'する', ['v1'], ['vs']), + suffixInflection('為すぎる', '為る', ['v1'], ['vs']), + suffixInflection('きすぎる', 'くる', ['v1'], ['vk']), + suffixInflection('来すぎる', '来る', ['v1'], ['vk']), + suffixInflection('來すぎる', '來る', ['v1'], ['vk']) + ] + }, + { + name: '-tai', + rules: [ + suffixInflection('たい', 'る', ['adj-i'], ['v1']), + suffixInflection('いたい', 'う', ['adj-i'], ['v5']), + suffixInflection('きたい', 'く', ['adj-i'], ['v5']), + suffixInflection('ぎたい', 'ぐ', ['adj-i'], ['v5']), + suffixInflection('したい', 'す', ['adj-i'], ['v5']), + suffixInflection('ちたい', 'つ', ['adj-i'], ['v5']), + suffixInflection('にたい', 'ぬ', ['adj-i'], ['v5']), + suffixInflection('びたい', 'ぶ', ['adj-i'], ['v5']), + suffixInflection('みたい', 'む', ['adj-i'], ['v5']), + suffixInflection('りたい', 'る', ['adj-i'], ['v5']), + suffixInflection('じたい', 'ずる', ['adj-i'], ['vz']), + suffixInflection('したい', 'する', ['adj-i'], ['vs']), + suffixInflection('為たい', '為る', ['adj-i'], ['vs']), + suffixInflection('きたい', 'くる', ['adj-i'], ['vk']), + suffixInflection('来たい', '来る', ['adj-i'], ['vk']), + suffixInflection('來たい', '來る', ['adj-i'], ['vk']) + ] + }, + { + name: '-tara', + rules: [ + suffixInflection('かったら', 'い', [], ['adj-i']), + suffixInflection('たら', 'る', [], ['v1']), + suffixInflection('いたら', 'く', [], ['v5']), + suffixInflection('いだら', 'ぐ', [], ['v5']), + suffixInflection('したら', 'す', [], ['v5']), + suffixInflection('ったら', 'う', [], ['v5']), + suffixInflection('ったら', 'つ', [], ['v5']), + suffixInflection('ったら', 'る', [], ['v5']), + suffixInflection('んだら', 'ぬ', [], ['v5']), + suffixInflection('んだら', 'ぶ', [], ['v5']), + suffixInflection('んだら', 'む', [], ['v5']), + suffixInflection('じたら', 'ずる', [], ['vz']), + suffixInflection('したら', 'する', [], ['vs']), + suffixInflection('為たら', '為る', [], ['vs']), + suffixInflection('きたら', 'くる', [], ['vk']), + suffixInflection('来たら', '来る', [], ['vk']), + suffixInflection('來たら', '來る', [], ['vk']), + suffixInflection('いったら', 'いく', [], ['v5']), + suffixInflection('おうたら', 'おう', [], ['v5']), + suffixInflection('こうたら', 'こう', [], ['v5']), + suffixInflection('そうたら', 'そう', [], ['v5']), + suffixInflection('とうたら', 'とう', [], ['v5']), + suffixInflection('行ったら', '行く', [], ['v5']), + suffixInflection('逝ったら', '逝く', [], ['v5']), + suffixInflection('往ったら', '往く', [], ['v5']), + suffixInflection('請うたら', '請う', [], ['v5']), + suffixInflection('乞うたら', '乞う', [], ['v5']), + suffixInflection('恋うたら', '恋う', [], ['v5']), + suffixInflection('問うたら', '問う', [], ['v5']), + suffixInflection('負うたら', '負う', [], ['v5']), + suffixInflection('沿うたら', '沿う', [], ['v5']), + suffixInflection('添うたら', '添う', [], ['v5']), + suffixInflection('副うたら', '副う', [], ['v5']), + suffixInflection('厭うたら', '厭う', [], ['v5']), + suffixInflection('のたもうたら', 'のたまう', [], ['v5']) + ] + }, + { + name: '-tari', + rules: [ + suffixInflection('かったり', 'い', [], ['adj-i']), + suffixInflection('たり', 'る', [], ['v1']), + suffixInflection('いたり', 'く', [], ['v5']), + suffixInflection('いだり', 'ぐ', [], ['v5']), + suffixInflection('したり', 'す', [], ['v5']), + suffixInflection('ったり', 'う', [], ['v5']), + suffixInflection('ったり', 'つ', [], ['v5']), + suffixInflection('ったり', 'る', [], ['v5']), + suffixInflection('んだり', 'ぬ', [], ['v5']), + suffixInflection('んだり', 'ぶ', [], ['v5']), + suffixInflection('んだり', 'む', [], ['v5']), + suffixInflection('じたり', 'ずる', [], ['vz']), + suffixInflection('したり', 'する', [], ['vs']), + suffixInflection('為たり', '為る', [], ['vs']), + suffixInflection('きたり', 'くる', [], ['vk']), + suffixInflection('来たり', '来る', [], ['vk']), + suffixInflection('來たり', '來る', [], ['vk']), + suffixInflection('いったり', 'いく', [], ['v5']), + suffixInflection('おうたり', 'おう', [], ['v5']), + suffixInflection('こうたり', 'こう', [], ['v5']), + suffixInflection('そうたり', 'そう', [], ['v5']), + suffixInflection('とうたり', 'とう', [], ['v5']), + suffixInflection('行ったり', '行く', [], ['v5']), + suffixInflection('逝ったり', '逝く', [], ['v5']), + suffixInflection('往ったり', '往く', [], ['v5']), + suffixInflection('請うたり', '請う', [], ['v5']), + suffixInflection('乞うたり', '乞う', [], ['v5']), + suffixInflection('恋うたり', '恋う', [], ['v5']), + suffixInflection('問うたり', '問う', [], ['v5']), + suffixInflection('負うたり', '負う', [], ['v5']), + suffixInflection('沿うたり', '沿う', [], ['v5']), + suffixInflection('添うたり', '添う', [], ['v5']), + suffixInflection('副うたり', '副う', [], ['v5']), + suffixInflection('厭うたり', '厭う', [], ['v5']), + suffixInflection('のたもうたり', 'のたまう', [], ['v5']) + ] + }, + { + name: '-te', + rules: [ + suffixInflection('くて', 'い', ['-te'], ['adj-i']), + suffixInflection('て', 'る', ['-te'], ['v1']), + suffixInflection('いて', 'く', ['-te'], ['v5']), + suffixInflection('いで', 'ぐ', ['-te'], ['v5']), + suffixInflection('して', 'す', ['-te'], ['v5']), + suffixInflection('って', 'う', ['-te'], ['v5']), + suffixInflection('って', 'つ', ['-te'], ['v5']), + suffixInflection('って', 'る', ['-te'], ['v5']), + suffixInflection('んで', 'ぬ', ['-te'], ['v5']), + suffixInflection('んで', 'ぶ', ['-te'], ['v5']), + suffixInflection('んで', 'む', ['-te'], ['v5']), + suffixInflection('じて', 'ずる', ['-te'], ['vz']), + suffixInflection('して', 'する', ['-te'], ['vs']), + suffixInflection('為て', '為る', ['-te'], ['vs']), + suffixInflection('きて', 'くる', ['-te'], ['vk']), + suffixInflection('来て', '来る', ['-te'], ['vk']), + suffixInflection('來て', '來る', ['-te'], ['vk']), + suffixInflection('いって', 'いく', ['-te'], ['v5']), + suffixInflection('おうて', 'おう', ['-te'], ['v5']), + suffixInflection('こうて', 'こう', ['-te'], ['v5']), + suffixInflection('そうて', 'そう', ['-te'], ['v5']), + suffixInflection('とうて', 'とう', ['-te'], ['v5']), + suffixInflection('行って', '行く', ['-te'], ['v5']), + suffixInflection('逝って', '逝く', ['-te'], ['v5']), + suffixInflection('往って', '往く', ['-te'], ['v5']), + suffixInflection('請うて', '請う', ['-te'], ['v5']), + suffixInflection('乞うて', '乞う', ['-te'], ['v5']), + suffixInflection('恋うて', '恋う', ['-te'], ['v5']), + suffixInflection('問うて', '問う', ['-te'], ['v5']), + suffixInflection('負うて', '負う', ['-te'], ['v5']), + suffixInflection('沿うて', '沿う', ['-te'], ['v5']), + suffixInflection('添うて', '添う', ['-te'], ['v5']), + suffixInflection('副うて', '副う', ['-te'], ['v5']), + suffixInflection('厭うて', '厭う', ['-te'], ['v5']), + suffixInflection('のたもうて', 'のたまう', ['-te'], ['v5']), + suffixInflection('まして', 'ます', [], ['v']) + ] + }, + { + name: '-zu', + rules: [ + suffixInflection('ず', 'る', [], ['v1']), + suffixInflection('かず', 'く', [], ['v5']), + suffixInflection('がず', 'ぐ', [], ['v5']), + suffixInflection('さず', 'す', [], ['v5']), + suffixInflection('たず', 'つ', [], ['v5']), + suffixInflection('なず', 'ぬ', [], ['v5']), + suffixInflection('ばず', 'ぶ', [], ['v5']), + suffixInflection('まず', 'む', [], ['v5']), + suffixInflection('らず', 'る', [], ['v5']), + suffixInflection('わず', 'う', [], ['v5']), + suffixInflection('ぜず', 'ずる', [], ['vz']), + suffixInflection('せず', 'する', [], ['vs']), + suffixInflection('為ず', '為る', [], ['vs']), + suffixInflection('こず', 'くる', [], ['vk']), + suffixInflection('来ず', '来る', [], ['vk']), + suffixInflection('來ず', '來る', [], ['vk']) + ] + }, + { + name: '-nu', + rules: [ + suffixInflection('ぬ', 'る', [], ['v1']), + suffixInflection('かぬ', 'く', [], ['v5']), + suffixInflection('がぬ', 'ぐ', [], ['v5']), + suffixInflection('さぬ', 'す', [], ['v5']), + suffixInflection('たぬ', 'つ', [], ['v5']), + suffixInflection('なぬ', 'ぬ', [], ['v5']), + suffixInflection('ばぬ', 'ぶ', [], ['v5']), + suffixInflection('まぬ', 'む', [], ['v5']), + suffixInflection('らぬ', 'る', [], ['v5']), + suffixInflection('わぬ', 'う', [], ['v5']), + suffixInflection('ぜぬ', 'ずる', [], ['vz']), + suffixInflection('せぬ', 'する', [], ['vs']), + suffixInflection('為ぬ', '為る', [], ['vs']), + suffixInflection('こぬ', 'くる', [], ['vk']), + suffixInflection('来ぬ', '来る', [], ['vk']), + suffixInflection('來ぬ', '來る', [], ['vk']) + ] + }, + { + name: '-mu', + rules: [ + suffixInflection('む', 'る', [], ['v1']), + suffixInflection('かむ', 'く', [], ['v5']), + suffixInflection('がむ', 'ぐ', [], ['v5']), + suffixInflection('さむ', 'す', [], ['v5']), + suffixInflection('たむ', 'つ', [], ['v5']), + suffixInflection('なむ', 'ぬ', [], ['v5']), + suffixInflection('ばむ', 'ぶ', [], ['v5']), + suffixInflection('まむ', 'む', [], ['v5']), + suffixInflection('らむ', 'る', [], ['v5']), + suffixInflection('わむ', 'う', [], ['v5']), + suffixInflection('ぜむ', 'ずる', [], ['vz']), + suffixInflection('せむ', 'する', [], ['vs']), + suffixInflection('為む', '為る', [], ['vs']), + suffixInflection('こむ', 'くる', [], ['vk']), + suffixInflection('来む', '来る', [], ['vk']), + suffixInflection('來む', '來る', [], ['vk']) + ] + }, + { + name: '-zaru', + rules: [ + suffixInflection('ざる', 'る', [], ['v1']), + suffixInflection('かざる', 'く', [], ['v5']), + suffixInflection('がざる', 'ぐ', [], ['v5']), + suffixInflection('さざる', 'す', [], ['v5']), + suffixInflection('たざる', 'つ', [], ['v5']), + suffixInflection('なざる', 'ぬ', [], ['v5']), + suffixInflection('ばざる', 'ぶ', [], ['v5']), + suffixInflection('まざる', 'む', [], ['v5']), + suffixInflection('らざる', 'る', [], ['v5']), + suffixInflection('わざる', 'う', [], ['v5']), + suffixInflection('ぜざる', 'ずる', [], ['vz']), + suffixInflection('せざる', 'する', [], ['vs']), + suffixInflection('為ざる', '為る', [], ['vs']), + suffixInflection('こざる', 'くる', [], ['vk']), + suffixInflection('来ざる', '来る', [], ['vk']), + suffixInflection('來ざる', '來る', [], ['vk']) + ] + }, + { + name: '-neba', + rules: [ + suffixInflection('ねば', 'る', [], ['v1']), + suffixInflection('かねば', 'く', [], ['v5']), + suffixInflection('がねば', 'ぐ', [], ['v5']), + suffixInflection('さねば', 'す', [], ['v5']), + suffixInflection('たねば', 'つ', [], ['v5']), + suffixInflection('なねば', 'ぬ', [], ['v5']), + suffixInflection('ばねば', 'ぶ', [], ['v5']), + suffixInflection('まねば', 'む', [], ['v5']), + suffixInflection('らねば', 'る', [], ['v5']), + suffixInflection('わねば', 'う', [], ['v5']), + suffixInflection('ぜねば', 'ずる', [], ['vz']), + suffixInflection('せねば', 'する', [], ['vs']), + suffixInflection('為ねば', '為る', [], ['vs']), + suffixInflection('こねば', 'くる', [], ['vk']), + suffixInflection('来ねば', '来る', [], ['vk']), + suffixInflection('來ねば', '來る', [], ['vk']) + ] + }, + { + name: 'adv', + rules: [ + suffixInflection('く', 'い', ['adv'], ['adj-i']) + ] + }, + { + name: 'causative', + rules: [ + suffixInflection('させる', 'る', ['v1'], ['v1']), + suffixInflection('かせる', 'く', ['v1'], ['v5']), + suffixInflection('がせる', 'ぐ', ['v1'], ['v5']), + suffixInflection('させる', 'す', ['v1'], ['v5']), + suffixInflection('たせる', 'つ', ['v1'], ['v5']), + suffixInflection('なせる', 'ぬ', ['v1'], ['v5']), + suffixInflection('ばせる', 'ぶ', ['v1'], ['v5']), + suffixInflection('ませる', 'む', ['v1'], ['v5']), + suffixInflection('らせる', 'る', ['v1'], ['v5']), + suffixInflection('わせる', 'う', ['v1'], ['v5']), + suffixInflection('じさせる', 'ずる', ['v1'], ['vz']), + suffixInflection('ぜさせる', 'ずる', ['v1'], ['vz']), + suffixInflection('させる', 'する', ['v1'], ['vs']), + suffixInflection('為せる', '為る', ['v1'], ['vs']), + suffixInflection('せさせる', 'する', ['v1'], ['vs']), + suffixInflection('為させる', '為る', ['v1'], ['vs']), + suffixInflection('こさせる', 'くる', ['v1'], ['vk']), + suffixInflection('来させる', '来る', ['v1'], ['vk']), + suffixInflection('來させる', '來る', ['v1'], ['vk']) + ] + }, + { + name: 'imperative', + rules: [ + suffixInflection('ろ', 'る', [], ['v1']), + suffixInflection('よ', 'る', [], ['v1']), + suffixInflection('え', 'う', [], ['v5']), + suffixInflection('け', 'く', [], ['v5']), + suffixInflection('げ', 'ぐ', [], ['v5']), + suffixInflection('せ', 'す', [], ['v5']), + suffixInflection('て', 'つ', [], ['v5']), + suffixInflection('ね', 'ぬ', [], ['v5']), + suffixInflection('べ', 'ぶ', [], ['v5']), + suffixInflection('め', 'む', [], ['v5']), + suffixInflection('れ', 'る', [], ['v5']), + suffixInflection('じろ', 'ずる', [], ['vz']), + suffixInflection('ぜよ', 'ずる', [], ['vz']), + suffixInflection('しろ', 'する', [], ['vs']), + suffixInflection('せよ', 'する', [], ['vs']), + suffixInflection('為ろ', '為る', [], ['vs']), + suffixInflection('為よ', '為る', [], ['vs']), + suffixInflection('こい', 'くる', [], ['vk']), + suffixInflection('来い', '来る', [], ['vk']), + suffixInflection('來い', '來る', [], ['vk']) + ] + }, + { + name: 'imperative negative', + rules: [ + suffixInflection('な', '', [], ['v']) + ] + }, + { + name: 'masu stem', + rules: [ + suffixInflection('い', 'いる', [], ['v1d']), + suffixInflection('え', 'える', [], ['v1d']), + suffixInflection('き', 'きる', [], ['v1d']), + suffixInflection('ぎ', 'ぎる', [], ['v1d']), + suffixInflection('け', 'ける', [], ['v1d']), + suffixInflection('げ', 'げる', [], ['v1d']), + suffixInflection('じ', 'じる', [], ['v1d']), + suffixInflection('せ', 'せる', [], ['v1d']), + suffixInflection('ぜ', 'ぜる', [], ['v1d']), + suffixInflection('ち', 'ちる', [], ['v1d']), + suffixInflection('て', 'てる', [], ['v1d']), + suffixInflection('で', 'でる', [], ['v1d']), + suffixInflection('に', 'にる', [], ['v1d']), + suffixInflection('ね', 'ねる', [], ['v1d']), + suffixInflection('ひ', 'ひる', [], ['v1d']), + suffixInflection('び', 'びる', [], ['v1d']), + suffixInflection('へ', 'へる', [], ['v1d']), + suffixInflection('べ', 'べる', [], ['v1d']), + suffixInflection('み', 'みる', [], ['v1d']), + suffixInflection('め', 'める', [], ['v1d']), + suffixInflection('り', 'りる', [], ['v1d']), + suffixInflection('れ', 'れる', [], ['v1d']), + suffixInflection('い', 'う', [], ['v5']), + suffixInflection('き', 'く', [], ['v5']), + suffixInflection('ぎ', 'ぐ', [], ['v5']), + suffixInflection('し', 'す', [], ['v5']), + suffixInflection('ち', 'つ', [], ['v5']), + suffixInflection('に', 'ぬ', [], ['v5']), + suffixInflection('び', 'ぶ', [], ['v5']), + suffixInflection('み', 'む', [], ['v5']), + suffixInflection('り', 'る', [], ['v5']), + suffixInflection('き', 'くる', [], ['vk']), + suffixInflection('し', 'する', [], ['vs']), + suffixInflection('来', '来る', [], ['vk']), + suffixInflection('來', '來る', [], ['vk']) + ] + }, + { + name: 'negative', + rules: [ + suffixInflection('くない', 'い', ['adj-i'], ['adj-i']), + suffixInflection('ない', 'る', ['adj-i'], ['v1']), + suffixInflection('かない', 'く', ['adj-i'], ['v5']), + suffixInflection('がない', 'ぐ', ['adj-i'], ['v5']), + suffixInflection('さない', 'す', ['adj-i'], ['v5']), + suffixInflection('たない', 'つ', ['adj-i'], ['v5']), + suffixInflection('なない', 'ぬ', ['adj-i'], ['v5']), + suffixInflection('ばない', 'ぶ', ['adj-i'], ['v5']), + suffixInflection('まない', 'む', ['adj-i'], ['v5']), + suffixInflection('らない', 'る', ['adj-i'], ['v5']), + suffixInflection('わない', 'う', ['adj-i'], ['v5']), + suffixInflection('じない', 'ずる', ['adj-i'], ['vz']), + suffixInflection('しない', 'する', ['adj-i'], ['vs']), + suffixInflection('為ない', '為る', ['adj-i'], ['vs']), + suffixInflection('こない', 'くる', ['adj-i'], ['vk']), + suffixInflection('来ない', '来る', ['adj-i'], ['vk']), + suffixInflection('來ない', '來る', ['adj-i'], ['vk']), + suffixInflection('ません', 'ます', ['v'], ['v']) + ] + }, + { + name: 'noun', + rules: [ + suffixInflection('さ', 'い', [], ['adj-i']) + ] + }, + { + name: 'passive', + rules: [ + suffixInflection('かれる', 'く', ['v1'], ['v5']), + suffixInflection('がれる', 'ぐ', ['v1'], ['v5']), + suffixInflection('される', 'す', ['v1'], ['v5']), + suffixInflection('たれる', 'つ', ['v1'], ['v5']), + suffixInflection('なれる', 'ぬ', ['v1'], ['v5']), + suffixInflection('ばれる', 'ぶ', ['v1'], ['v5']), + suffixInflection('まれる', 'む', ['v1'], ['v5']), + suffixInflection('われる', 'う', ['v1'], ['v5']), + suffixInflection('られる', 'る', ['v1'], ['v5']), + suffixInflection('じされる', 'ずる', ['v1'], ['vz']), + suffixInflection('ぜされる', 'ずる', ['v1'], ['vz']), + suffixInflection('される', 'する', ['v1'], ['vs']), + suffixInflection('為れる', '為る', ['v1'], ['vs']), + suffixInflection('こられる', 'くる', ['v1'], ['vk']), + suffixInflection('来られる', '来る', ['v1'], ['vk']), + suffixInflection('來られる', '來る', ['v1'], ['vk']) + ] + }, + { + name: 'past', + rules: [ + suffixInflection('かった', 'い', ['past'], ['adj-i']), + suffixInflection('た', 'る', ['past'], ['v1']), + suffixInflection('いた', 'く', ['past'], ['v5']), + suffixInflection('いだ', 'ぐ', ['past'], ['v5']), + suffixInflection('した', 'す', ['past'], ['v5']), + suffixInflection('った', 'う', ['past'], ['v5']), + suffixInflection('った', 'つ', ['past'], ['v5']), + suffixInflection('った', 'る', ['past'], ['v5']), + suffixInflection('んだ', 'ぬ', ['past'], ['v5']), + suffixInflection('んだ', 'ぶ', ['past'], ['v5']), + suffixInflection('んだ', 'む', ['past'], ['v5']), + suffixInflection('じた', 'ずる', ['past'], ['vz']), + suffixInflection('した', 'する', ['past'], ['vs']), + suffixInflection('為た', '為る', ['past'], ['vs']), + suffixInflection('きた', 'くる', ['past'], ['vk']), + suffixInflection('来た', '来る', ['past'], ['vk']), + suffixInflection('來た', '來る', ['past'], ['vk']), + suffixInflection('いった', 'いく', ['past'], ['v5']), + suffixInflection('おうた', 'おう', ['past'], ['v5']), + suffixInflection('こうた', 'こう', ['past'], ['v5']), + suffixInflection('そうた', 'そう', ['past'], ['v5']), + suffixInflection('とうた', 'とう', ['past'], ['v5']), + suffixInflection('行った', '行く', ['past'], ['v5']), + suffixInflection('逝った', '逝く', ['past'], ['v5']), + suffixInflection('往った', '往く', ['past'], ['v5']), + suffixInflection('請うた', '請う', ['past'], ['v5']), + suffixInflection('乞うた', '乞う', ['past'], ['v5']), + suffixInflection('恋うた', '恋う', ['past'], ['v5']), + suffixInflection('問うた', '問う', ['past'], ['v5']), + suffixInflection('負うた', '負う', ['past'], ['v5']), + suffixInflection('沿うた', '沿う', ['past'], ['v5']), + suffixInflection('添うた', '添う', ['past'], ['v5']), + suffixInflection('副うた', '副う', ['past'], ['v5']), + suffixInflection('厭うた', '厭う', ['past'], ['v5']), + suffixInflection('のたもうた', 'のたまう', ['past'], ['v5']), + suffixInflection('ました', 'ます', ['past'], ['v']), + suffixInflection('ませんでした', 'ません', ['past'], ['v']) + ] + }, + { + name: 'polite', + rules: [ + suffixInflection('ます', 'る', ['v1'], ['v1']), + suffixInflection('います', 'う', ['v5'], ['v5']), + suffixInflection('きます', 'く', ['v5'], ['v5']), + suffixInflection('ぎます', 'ぐ', ['v5'], ['v5']), + suffixInflection('します', 'す', ['v5'], ['v5']), + suffixInflection('ちます', 'つ', ['v5'], ['v5']), + suffixInflection('にます', 'ぬ', ['v5'], ['v5']), + suffixInflection('びます', 'ぶ', ['v5'], ['v5']), + suffixInflection('みます', 'む', ['v5'], ['v5']), + suffixInflection('ります', 'る', ['v5'], ['v5']), + suffixInflection('じます', 'ずる', ['vz'], ['vz']), + suffixInflection('します', 'する', ['vs'], ['vs']), + suffixInflection('為ます', '為る', ['vs'], ['vs']), + suffixInflection('きます', 'くる', ['vk'], ['vk']), + suffixInflection('来ます', '来る', ['vk'], ['vk']), + suffixInflection('來ます', '來る', ['vk'], ['vk']), + suffixInflection('くあります', 'い', ['v'], ['adj-i']) + ] + }, + { + name: 'potential', + rules: [ + suffixInflection('れる', 'る', ['v1'], ['v1', 'v5']), + suffixInflection('える', 'う', ['v1'], ['v5']), + suffixInflection('ける', 'く', ['v1'], ['v5']), + suffixInflection('げる', 'ぐ', ['v1'], ['v5']), + suffixInflection('せる', 'す', ['v1'], ['v5']), + suffixInflection('てる', 'つ', ['v1'], ['v5']), + suffixInflection('ねる', 'ぬ', ['v1'], ['v5']), + suffixInflection('べる', 'ぶ', ['v1'], ['v5']), + suffixInflection('める', 'む', ['v1'], ['v5']), + suffixInflection('できる', 'する', ['v1'], ['vs']), + suffixInflection('出来る', 'する', ['v1'], ['vs']), + suffixInflection('これる', 'くる', ['v1'], ['vk']), + suffixInflection('来れる', '来る', ['v1'], ['vk']), + suffixInflection('來れる', '來る', ['v1'], ['vk']) + ] + }, + { + name: 'potential or passive', + rules: [ + suffixInflection('られる', 'る', ['v1'], ['v1']), + suffixInflection('ざれる', 'ずる', ['v1'], ['vz']), + suffixInflection('ぜられる', 'ずる', ['v1'], ['vz']), + suffixInflection('せられる', 'する', ['v1'], ['vs']), + suffixInflection('為られる', '為る', ['v1'], ['vs']), + suffixInflection('こられる', 'くる', ['v1'], ['vk']), + suffixInflection('来られる', '来る', ['v1'], ['vk']), + suffixInflection('來られる', '來る', ['v1'], ['vk']) + ] + }, + { + name: 'volitional', + rules: [ + suffixInflection('よう', 'る', [], ['v1']), + suffixInflection('おう', 'う', [], ['v5']), + suffixInflection('こう', 'く', [], ['v5']), + suffixInflection('ごう', 'ぐ', [], ['v5']), + suffixInflection('そう', 'す', [], ['v5']), + suffixInflection('とう', 'つ', [], ['v5']), + suffixInflection('のう', 'ぬ', [], ['v5']), + suffixInflection('ぼう', 'ぶ', [], ['v5']), + suffixInflection('もう', 'む', [], ['v5']), + suffixInflection('ろう', 'る', [], ['v5']), + suffixInflection('じよう', 'ずる', [], ['vz']), + suffixInflection('しよう', 'する', [], ['vs']), + suffixInflection('為よう', '為る', [], ['vs']), + suffixInflection('こよう', 'くる', [], ['vk']), + suffixInflection('来よう', '来る', [], ['vk']), + suffixInflection('來よう', '來る', [], ['vk']), + suffixInflection('ましょう', 'ます', [], ['v']) + ] + }, + { + name: 'causative passive', + rules: [ + suffixInflection('かされる', 'く', ['v1'], ['v5']), + suffixInflection('がされる', 'ぐ', ['v1'], ['v5']), + suffixInflection('たされる', 'つ', ['v1'], ['v5']), + suffixInflection('なされる', 'ぬ', ['v1'], ['v5']), + suffixInflection('ばされる', 'ぶ', ['v1'], ['v5']), + suffixInflection('まされる', 'む', ['v1'], ['v5']), + suffixInflection('らされる', 'る', ['v1'], ['v5']), + suffixInflection('わされる', 'う', ['v1'], ['v5']) + ] + }, + { + name: '-toku', + rules: [ + suffixInflection('とく', 'る', ['v5'], ['v1']), + suffixInflection('いとく', 'く', ['v5'], ['v5']), + suffixInflection('いどく', 'ぐ', ['v5'], ['v5']), + suffixInflection('しとく', 'す', ['v5'], ['v5']), + suffixInflection('っとく', 'う', ['v5'], ['v5']), + suffixInflection('っとく', 'つ', ['v5'], ['v5']), + suffixInflection('っとく', 'る', ['v5'], ['v5']), + suffixInflection('んどく', 'ぬ', ['v5'], ['v5']), + suffixInflection('んどく', 'ぶ', ['v5'], ['v5']), + suffixInflection('んどく', 'む', ['v5'], ['v5']), + suffixInflection('じとく', 'ずる', ['v5'], ['vz']), + suffixInflection('しとく', 'する', ['v5'], ['vs']), + suffixInflection('為とく', '為る', ['v5'], ['vs']), + suffixInflection('きとく', 'くる', ['v5'], ['vk']), + suffixInflection('来とく', '来る', ['v5'], ['vk']), + suffixInflection('來とく', '來る', ['v5'], ['vk']) + ] + }, + { + name: 'progressive or perfect', + rules: [ + suffixInflection('ている', 'て', ['v1'], ['-te']), + suffixInflection('ておる', 'て', ['v5'], ['-te']), + suffixInflection('てる', 'て', ['v1p'], ['-te']), + suffixInflection('でいる', 'で', ['v1'], ['-te']), + suffixInflection('でおる', 'で', ['v5'], ['-te']), + suffixInflection('でる', 'で', ['v1p'], ['-te']), + suffixInflection('とる', 'て', ['v5'], ['-te']), + suffixInflection('ないでいる', 'ない', ['v1'], ['adj-i']) + ] + }, + { + name: '-ki', + rules: [ + suffixInflection('き', 'い', [], ['adj-i']) + ] + }, + { + name: '-ge', + rules: [ + suffixInflection('しげ', 'しい', [], ['adj-i']) + ] + }, + { + name: '-e', + rules: [ + suffixInflection('ねえ', 'ない', [], ['adj-i']), + suffixInflection('めえ', 'むい', [], ['adj-i']), + suffixInflection('みい', 'むい', [], ['adj-i']), + suffixInflection('ちぇえ', 'つい', [], ['adj-i']), + suffixInflection('ちい', 'つい', [], ['adj-i']), + suffixInflection('せえ', 'すい', [], ['adj-i']), + suffixInflection('ええ', 'いい', [], ['adj-i']), + suffixInflection('ええ', 'わい', [], ['adj-i']), + suffixInflection('ええ', 'よい', [], ['adj-i']), + suffixInflection('いぇえ', 'よい', [], ['adj-i']), + suffixInflection('うぇえ', 'わい', [], ['adj-i']), + suffixInflection('けえ', 'かい', [], ['adj-i']), + suffixInflection('げえ', 'がい', [], ['adj-i']), + suffixInflection('げえ', 'ごい', [], ['adj-i']), + suffixInflection('せえ', 'さい', [], ['adj-i']), + suffixInflection('めえ', 'まい', [], ['adj-i']), + suffixInflection('ぜえ', 'ずい', [], ['adj-i']), + suffixInflection('っぜえ', 'ずい', [], ['adj-i']), + suffixInflection('れえ', 'らい', [], ['adj-i']), + suffixInflection('れえ', 'らい', [], ['adj-i']), + suffixInflection('ちぇえ', 'ちゃい', [], ['adj-i']), + suffixInflection('でえ', 'どい', [], ['adj-i']), + suffixInflection('れえ', 'れい', [], ['adj-i']), + suffixInflection('べえ', 'ばい', [], ['adj-i']), + suffixInflection('てえ', 'たい', [], ['adj-i']), + suffixInflection('ねぇ', 'ない', [], ['adj-i']), + suffixInflection('めぇ', 'むい', [], ['adj-i']), + suffixInflection('みぃ', 'むい', [], ['adj-i']), + suffixInflection('ちぃ', 'つい', [], ['adj-i']), + suffixInflection('せぇ', 'すい', [], ['adj-i']), + suffixInflection('けぇ', 'かい', [], ['adj-i']), + suffixInflection('げぇ', 'がい', [], ['adj-i']), + suffixInflection('げぇ', 'ごい', [], ['adj-i']), + suffixInflection('せぇ', 'さい', [], ['adj-i']), + suffixInflection('めぇ', 'まい', [], ['adj-i']), + suffixInflection('ぜぇ', 'ずい', [], ['adj-i']), + suffixInflection('っぜぇ', 'ずい', [], ['adj-i']), + suffixInflection('れぇ', 'らい', [], ['adj-i']), + suffixInflection('でぇ', 'どい', [], ['adj-i']), + suffixInflection('れぇ', 'れい', [], ['adj-i']), + suffixInflection('べぇ', 'ばい', [], ['adj-i']), + suffixInflection('てぇ', 'たい', [], ['adj-i']) + ] + }, + { + name: 'slang', + rules: [ + suffixInflection('てぇてぇ', 'とうとい', [], ['adj-i']), + suffixInflection('てぇてぇ', '尊い', [], ['adj-i']), + suffixInflection('おなしゃす', 'おねがいします', [], ['v5']), + suffixInflection('おなしゃす', 'お願いします', [], ['v5']), + suffixInflection('あざす', 'ありがとうございます', [], ['v5']), + suffixInflection('さーせん', 'すみません', [], ['v5']), + suffixInflection('神ってる', '神がかっている', [], ['v1p']), + suffixInflection('じわる', 'じわじわ来る', [], ['vk']), + suffixInflection('おさしみ', 'おやすみ', [], []), + suffixInflection('おやさい', 'おやすみ', [], []) + ] + }, + { + name: 'kansai-ben', + description: 'Negative form of kansai-ben verbs', + rules: [ + suffixInflection('へん', 'ない', [], ['adj-i']), + suffixInflection('ひん', 'ない', [], ['adj-i']), + suffixInflection('せえへん', 'しない', [], ['adj-i']), + suffixInflection('へんかった', 'なかった', ['past'], ['past']), + suffixInflection('ひんかった', 'なかった', ['past'], ['past']), + suffixInflection('うてへん', 'ってない', [], ['adj-i']) + ] + }, + { + name: 'kansai-ben', + description: '-te form of kansai-ben verbs', + rules: [ + suffixInflection('うて', 'って', ['-te'], ['-te']), + suffixInflection('おうて', 'あって', ['-te'], ['-te']), + suffixInflection('こうて', 'かって', ['-te'], ['-te']), + suffixInflection('ごうて', 'がって', ['-te'], ['-te']), + suffixInflection('そうて', 'さって', ['-te'], ['-te']), + suffixInflection('ぞうて', 'ざって', ['-te'], ['-te']), + suffixInflection('とうて', 'たって', ['-te'], ['-te']), + suffixInflection('どうて', 'だって', ['-te'], ['-te']), + suffixInflection('のうて', 'なって', ['-te'], ['-te']), + suffixInflection('ほうて', 'はって', ['-te'], ['-te']), + suffixInflection('ぼうて', 'ばって', ['-te'], ['-te']), + suffixInflection('もうて', 'まって', ['-te'], ['-te']), + suffixInflection('ろうて', 'らって', ['-te'], ['-te']), + suffixInflection('ようて', 'やって', ['-te'], ['-te']), + suffixInflection('ゆうて', 'いって', ['-te'], ['-te']) + ] + }, + { + name: 'kansai-ben', + description: 'past form of kansai-ben terms', + rules: [ + suffixInflection('うた', 'った', ['past'], ['past']), + suffixInflection('おうた', 'あった', ['past'], ['past']), + suffixInflection('こうた', 'かった', ['past'], ['past']), + suffixInflection('ごうた', 'がった', ['past'], ['past']), + suffixInflection('そうた', 'さった', ['past'], ['past']), + suffixInflection('ぞうた', 'ざった', ['past'], ['past']), + suffixInflection('とうた', 'たった', ['past'], ['past']), + suffixInflection('どうた', 'だった', ['past'], ['past']), + suffixInflection('のうた', 'なった', ['past'], ['past']), + suffixInflection('ほうた', 'はった', ['past'], ['past']), + suffixInflection('ぼうた', 'ばった', ['past'], ['past']), + suffixInflection('もうた', 'まった', ['past'], ['past']), + suffixInflection('ろうた', 'らった', ['past'], ['past']), + suffixInflection('ようた', 'やった', ['past'], ['past']), + suffixInflection('ゆうた', 'いった', ['past'], ['past']) + ] + }, + { + name: 'kansai-ben', + description: '-tara form of kansai-ben terms', + rules: [ + suffixInflection('うたら', 'ったら', [], []), + suffixInflection('おうたら', 'あったら', [], []), + suffixInflection('こうたら', 'かったら', [], []), + suffixInflection('ごうたら', 'がったら', [], []), + suffixInflection('そうたら', 'さったら', [], []), + suffixInflection('ぞうたら', 'ざったら', [], []), + suffixInflection('とうたら', 'たったら', [], []), + suffixInflection('どうたら', 'だったら', [], []), + suffixInflection('のうたら', 'なったら', [], []), + suffixInflection('ほうたら', 'はったら', [], []), + suffixInflection('ぼうたら', 'ばったら', [], []), + suffixInflection('もうたら', 'まったら', [], []), + suffixInflection('ろうたら', 'らったら', [], []), + suffixInflection('ようたら', 'やったら', [], []), + suffixInflection('ゆうたら', 'いったら', [], []) + ] + }, + { + name: 'kansai-ben', + description: '-ku stem of kansai-ben adjectives', + rules: [ + suffixInflection('う', 'く', [], ['adv']), + suffixInflection('こう', 'かく', [], ['adv']), + suffixInflection('ごう', 'がく', [], ['adv']), + suffixInflection('そう', 'さく', [], ['adv']), + suffixInflection('とう', 'たく', [], ['adv']), + suffixInflection('のう', 'なく', [], ['adv']), + suffixInflection('ぼう', 'ばく', [], ['adv']), + suffixInflection('もう', 'まく', [], ['adv']), + suffixInflection('ろう', 'らく', [], ['adv']), + suffixInflection('よう', 'よく', [], ['adv']), + suffixInflection('しゅう', 'しく', [], ['adv']) + ] + }, + { + name: 'kansai-ben', + description: '-te form of kansai-ben adjectives', + rules: [ + suffixInflection('うて', 'くて', ['-te'], ['-te']), + suffixInflection('こうて', 'かくて', ['-te'], ['-te']), + suffixInflection('ごうて', 'がくて', ['-te'], ['-te']), + suffixInflection('そうて', 'さくて', ['-te'], ['-te']), + suffixInflection('とうて', 'たくて', ['-te'], ['-te']), + suffixInflection('のうて', 'なくて', ['-te'], ['-te']), + suffixInflection('ぼうて', 'ばくて', ['-te'], ['-te']), + suffixInflection('もうて', 'まくて', ['-te'], ['-te']), + suffixInflection('ろうて', 'らくて', ['-te'], ['-te']), + suffixInflection('ようて', 'よくて', ['-te'], ['-te']), + suffixInflection('しゅうて', 'しくて', ['-te'], ['-te']) + ] + }, + { + name: 'kansai-ben', + description: 'Negative form of kansai-ben adjectives', + rules: [ + suffixInflection('うない', 'くない', ['adj-i'], ['adj-i']), + suffixInflection('こうない', 'かくない', ['adj-i'], ['adj-i']), + suffixInflection('ごうない', 'がくない', ['adj-i'], ['adj-i']), + suffixInflection('そうない', 'さくない', ['adj-i'], ['adj-i']), + suffixInflection('とうない', 'たくない', ['adj-i'], ['adj-i']), + suffixInflection('のうない', 'なくない', ['adj-i'], ['adj-i']), + suffixInflection('ぼうない', 'ばくない', ['adj-i'], ['adj-i']), + suffixInflection('もうない', 'まくない', ['adj-i'], ['adj-i']), + suffixInflection('ろうない', 'らくない', ['adj-i'], ['adj-i']), + suffixInflection('ようない', 'よくない', ['adj-i'], ['adj-i']), + suffixInflection('しゅうない', 'しくない', ['adj-i'], ['adj-i']) + ] + } + ] +}; diff --git a/ext/js/language/ja/japanese-transforms.json b/ext/js/language/ja/japanese-transforms.json deleted file mode 100644 index c5983526..00000000 --- a/ext/js/language/ja/japanese-transforms.json +++ /dev/null @@ -1,1013 +0,0 @@ -{ - "language": "ja", - "conditions": { - "v": { - "name": "Verb", - "i18n": [ - { - "language": "ja", - "name": "動詞" - } - ], - "isDictionaryForm": false, - "subConditions": ["v1", "v5", "vk", "vs", "vz"] - }, - "v1": { - "name": "Ichidan verb", - "i18n": [ - { - "language": "ja", - "name": "一段動詞" - } - ], - "isDictionaryForm": true, - "subConditions": ["v1d", "v1p"] - }, - "v1d": { - "name": "Ichidan verb, dictionary form", - "i18n": [ - { - "language": "ja", - "name": "一段動詞、辞書形" - } - ], - "isDictionaryForm": false - }, - "v1p": { - "name": "Ichidan verb, progressive or perfect form", - "i18n": [ - { - "language": "ja", - "name": "一段動詞、進行形または完了形" - } - ], - "isDictionaryForm": false - }, - "v5": { - "name": "Godan verb", - "i18n": [ - { - "language": "ja", - "name": "五段動詞" - } - ], - "isDictionaryForm": true - }, - "vk": { - "name": "Kuru verb", - "i18n": [ - { - "language": "ja", - "name": "来る動詞" - } - ], - "isDictionaryForm": true - }, - "vs": { - "name": "Suru verb", - "i18n": [ - { - "language": "ja", - "name": "する動詞" - } - ], - "isDictionaryForm": true - }, - "vz": { - "name": "Zuru verb", - "i18n": [ - { - "language": "ja", - "name": "ずる動詞" - } - ], - "isDictionaryForm": true - }, - "adj-i": { - "name": "Adjective with i ending", - "i18n": [ - { - "language": "ja", - "name": "形容詞" - } - ], - "isDictionaryForm": true - }, - "-te": { - "name": "Intermediate -te endings for progressive or perfect tense", - "isDictionaryForm": false - }, - "adv": { - "name": "Intermediate -ku endings for adverbs", - "isDictionaryForm": false - }, - "past": { - "name": "-ta past form ending", - "isDictionaryForm": false - } - }, - "transforms": [ - { - "name": "-ba", - "description": "Conditional", - "i18n": [ - { - "language": "ja", - "name": "ば", - "description": "仮定形" - } - ], - "rules": [ - {"suffixIn": "ければ", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "えば", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "けば", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "げば", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "せば", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "てば", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ねば", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "べば", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "めば", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "れば", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1", "v5", "vk", "vs", "vz"]} - ] - }, - { - "name": "-chau", - "rules": [ - {"suffixIn": "ちゃう", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v1"]}, - {"suffixIn": "いじゃう", "suffixOut": "ぐ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "いちゃう", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "しちゃう", "suffixOut": "す", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちゃう", "suffixOut": "う", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちゃう", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちゃう", "suffixOut": "つ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちゃう", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじゃう", "suffixOut": "ぬ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじゃう", "suffixOut": "ぶ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじゃう", "suffixOut": "む", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "じちゃう", "suffixOut": "ずる", "conditionsIn": ["v5"], "conditionsOut": ["vz"]}, - {"suffixIn": "しちゃう", "suffixOut": "する", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "為ちゃう", "suffixOut": "為る", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "きちゃう", "suffixOut": "くる", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "来ちゃう", "suffixOut": "来る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "來ちゃう", "suffixOut": "來る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-chimau", - "rules": [ - {"suffixIn": "ちまう", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v1"]}, - {"suffixIn": "いじまう", "suffixOut": "ぐ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "いちまう", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "しちまう", "suffixOut": "す", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちまう", "suffixOut": "う", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちまう", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちまう", "suffixOut": "つ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っちまう", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじまう", "suffixOut": "ぬ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじまう", "suffixOut": "ぶ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んじまう", "suffixOut": "む", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "じちまう", "suffixOut": "ずる", "conditionsIn": ["v5"], "conditionsOut": ["vz"]}, - {"suffixIn": "しちまう", "suffixOut": "する", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "為ちまう", "suffixOut": "為る", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "きちまう", "suffixOut": "くる", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "来ちまう", "suffixOut": "来る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "來ちまう", "suffixOut": "來る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-shimau", - "rules": [ - {"suffixIn": "てしまう", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["-te"]}, - {"suffixIn": "でしまう", "suffixOut": "で", "conditionsIn": ["v5"], "conditionsOut": ["-te"]} - ] - }, - { - "name": "-nasai", - "rules": [ - {"suffixIn": "なさい", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "いなさい", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "きなさい", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎなさい", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "しなさい", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ちなさい", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "になさい", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "びなさい", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "みなさい", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "りなさい", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じなさい", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "しなさい", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為なさい", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "きなさい", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来なさい", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來なさい", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-sou", - "rules": [ - {"suffixIn": "そう", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "そう", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "いそう", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "きそう", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎそう", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "しそう", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ちそう", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "にそう", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "びそう", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "みそう", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "りそう", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じそう", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "しそう", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為そう", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "きそう", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来そう", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來そう", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-sugiru", - "rules": [ - {"suffixIn": "すぎる", "suffixOut": "い", "conditionsIn": ["v1"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "すぎる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v1"]}, - {"suffixIn": "いすぎる", "suffixOut": "う", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "きすぎる", "suffixOut": "く", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎすぎる", "suffixOut": "ぐ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "しすぎる", "suffixOut": "す", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ちすぎる", "suffixOut": "つ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "にすぎる", "suffixOut": "ぬ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "びすぎる", "suffixOut": "ぶ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "みすぎる", "suffixOut": "む", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "りすぎる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "じすぎる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "しすぎる", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "為すぎる", "suffixOut": "為る", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "きすぎる", "suffixOut": "くる", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "来すぎる", "suffixOut": "来る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "來すぎる", "suffixOut": "來る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-tai", - "rules": [ - {"suffixIn": "たい", "suffixOut": "る", "conditionsIn": ["adj-i"], "conditionsOut": ["v1"]}, - {"suffixIn": "いたい", "suffixOut": "う", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "きたい", "suffixOut": "く", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎたい", "suffixOut": "ぐ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "したい", "suffixOut": "す", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "ちたい", "suffixOut": "つ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "にたい", "suffixOut": "ぬ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "びたい", "suffixOut": "ぶ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "みたい", "suffixOut": "む", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "りたい", "suffixOut": "る", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "じたい", "suffixOut": "ずる", "conditionsIn": ["adj-i"], "conditionsOut": ["vz"]}, - {"suffixIn": "したい", "suffixOut": "する", "conditionsIn": ["adj-i"], "conditionsOut": ["vs"]}, - {"suffixIn": "為たい", "suffixOut": "為る", "conditionsIn": ["adj-i"], "conditionsOut": ["vs"]}, - {"suffixIn": "きたい", "suffixOut": "くる", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]}, - {"suffixIn": "来たい", "suffixOut": "来る", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]}, - {"suffixIn": "來たい", "suffixOut": "來る", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-tara", - "rules": [ - {"suffixIn": "かったら", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "たら", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "いたら", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "いだら", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "したら", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったら", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったら", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったら", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだら", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだら", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだら", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じたら", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "したら", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為たら", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "きたら", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来たら", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來たら", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "いったら", "suffixOut": "いく", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "おうたら", "suffixOut": "おう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "こうたら", "suffixOut": "こう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "そうたら", "suffixOut": "そう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "とうたら", "suffixOut": "とう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "行ったら", "suffixOut": "行く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "逝ったら", "suffixOut": "逝く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "往ったら", "suffixOut": "往く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "請うたら", "suffixOut": "請う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "乞うたら", "suffixOut": "乞う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "恋うたら", "suffixOut": "恋う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "問うたら", "suffixOut": "問う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "負うたら", "suffixOut": "負う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "沿うたら", "suffixOut": "沿う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "添うたら", "suffixOut": "添う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "副うたら", "suffixOut": "副う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "厭うたら", "suffixOut": "厭う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "のたもうたら", "suffixOut": "のたまう", "conditionsIn": [], "conditionsOut": ["v5"]} - ] - }, - { - "name": "-tari", - "rules": [ - {"suffixIn": "かったり", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "たり", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "いたり", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "いだり", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "したり", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったり", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったり", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ったり", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだり", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだり", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "んだり", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じたり", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "したり", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為たり", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "きたり", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来たり", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來たり", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "いったり", "suffixOut": "いく", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "おうたり", "suffixOut": "おう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "こうたり", "suffixOut": "こう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "そうたり", "suffixOut": "そう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "とうたり", "suffixOut": "とう", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "行ったり", "suffixOut": "行く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "逝ったり", "suffixOut": "逝く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "往ったり", "suffixOut": "往く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "請うたり", "suffixOut": "請う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "乞うたり", "suffixOut": "乞う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "恋うたり", "suffixOut": "恋う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "問うたり", "suffixOut": "問う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "負うたり", "suffixOut": "負う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "沿うたり", "suffixOut": "沿う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "添うたり", "suffixOut": "添う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "副うたり", "suffixOut": "副う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "厭うたり", "suffixOut": "厭う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "のたもうたり", "suffixOut": "のたまう", "conditionsIn": [], "conditionsOut": ["v5"]} - ] - }, - { - "name": "-te", - "rules": [ - {"suffixIn": "くて", "suffixOut": "い", "conditionsIn": ["-te"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "て", "suffixOut": "る", "conditionsIn": ["-te"], "conditionsOut": ["v1"]}, - {"suffixIn": "いて", "suffixOut": "く", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "いで", "suffixOut": "ぐ", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "して", "suffixOut": "す", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "って", "suffixOut": "う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "って", "suffixOut": "つ", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "って", "suffixOut": "る", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "んで", "suffixOut": "ぬ", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "んで", "suffixOut": "ぶ", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "んで", "suffixOut": "む", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "じて", "suffixOut": "ずる", "conditionsIn": ["-te"], "conditionsOut": ["vz"]}, - {"suffixIn": "して", "suffixOut": "する", "conditionsIn": ["-te"], "conditionsOut": ["vs"]}, - {"suffixIn": "為て", "suffixOut": "為る", "conditionsIn": ["-te"], "conditionsOut": ["vs"]}, - {"suffixIn": "きて", "suffixOut": "くる", "conditionsIn": ["-te"], "conditionsOut": ["vk"]}, - {"suffixIn": "来て", "suffixOut": "来る", "conditionsIn": ["-te"], "conditionsOut": ["vk"]}, - {"suffixIn": "來て", "suffixOut": "來る", "conditionsIn": ["-te"], "conditionsOut": ["vk"]}, - {"suffixIn": "いって", "suffixOut": "いく", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "おうて", "suffixOut": "おう", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "こうて", "suffixOut": "こう", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "そうて", "suffixOut": "そう", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "とうて", "suffixOut": "とう", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "行って", "suffixOut": "行く", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "逝って", "suffixOut": "逝く", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "往って", "suffixOut": "往く", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "請うて", "suffixOut": "請う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "乞うて", "suffixOut": "乞う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "恋うて", "suffixOut": "恋う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "問うて", "suffixOut": "問う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "負うて", "suffixOut": "負う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "沿うて", "suffixOut": "沿う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "添うて", "suffixOut": "添う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "副うて", "suffixOut": "副う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "厭うて", "suffixOut": "厭う", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "のたもうて", "suffixOut": "のたまう", "conditionsIn": ["-te"], "conditionsOut": ["v5"]}, - {"suffixIn": "まして", "suffixOut": "ます", "conditionsIn": [], "conditionsOut": ["v"]} - ] - }, - { - "name": "-zu", - "rules": [ - {"suffixIn": "ず", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "かず", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "がず", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さず", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "たず", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "なず", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ばず", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "まず", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "らず", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "わず", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぜず", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "せず", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為ず", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こず", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来ず", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來ず", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-nu", - "rules": [ - {"suffixIn": "ぬ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "かぬ", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "がぬ", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さぬ", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "たぬ", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "なぬ", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ばぬ", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "まぬ", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "らぬ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "わぬ", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぜぬ", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "せぬ", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為ぬ", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こぬ", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来ぬ", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來ぬ", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-mu", - "rules": [ - {"suffixIn": "む", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "かむ", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "がむ", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さむ", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "たむ", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "なむ", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ばむ", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "まむ", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "らむ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "わむ", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぜむ", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "せむ", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為む", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こむ", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来む", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來む", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-zaru", - "rules": [ - {"suffixIn": "ざる", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "かざる", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "がざる", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さざる", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "たざる", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "なざる", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ばざる", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "まざる", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "らざる", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "わざる", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぜざる", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "せざる", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為ざる", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こざる", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来ざる", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來ざる", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "-neba", - "rules": [ - {"suffixIn": "ねば", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "かねば", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "がねば", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さねば", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "たねば", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "なねば", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ばねば", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "まねば", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "らねば", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "わねば", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぜねば", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "せねば", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為ねば", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こねば", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来ねば", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來ねば", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "adv", - "rules": [ - {"suffixIn": "く", "suffixOut": "い", "conditionsIn": ["adv"], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "causative", - "rules": [ - {"suffixIn": "させる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v1"]}, - {"suffixIn": "かせる", "suffixOut": "く", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "がせる", "suffixOut": "ぐ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "させる", "suffixOut": "す", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "たせる", "suffixOut": "つ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "なせる", "suffixOut": "ぬ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ばせる", "suffixOut": "ぶ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ませる", "suffixOut": "む", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "らせる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "わせる", "suffixOut": "う", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "じさせる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "ぜさせる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "させる", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "為せる", "suffixOut": "為る", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "せさせる", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "為させる", "suffixOut": "為る", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "こさせる", "suffixOut": "くる", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "来させる", "suffixOut": "来る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "來させる", "suffixOut": "來る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "imperative", - "rules": [ - {"suffixIn": "ろ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "よ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "え", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "け", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "げ", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "せ", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "て", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ね", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "べ", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "め", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "れ", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じろ", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "ぜよ", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "しろ", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "せよ", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為ろ", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為よ", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こい", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来い", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來い", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]} - ] - }, - { - "name": "imperative negative", - "rules": [ - {"suffixIn": "な", "suffixOut": "", "conditionsIn": [], "conditionsOut": ["v"]} - ] - }, - { - "name": "masu stem", - "rules": [ - {"suffixIn": "い", "suffixOut": "いる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "え", "suffixOut": "える", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "き", "suffixOut": "きる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "ぎ", "suffixOut": "ぎる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "け", "suffixOut": "ける", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "げ", "suffixOut": "げる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "じ", "suffixOut": "じる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "せ", "suffixOut": "せる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "ぜ", "suffixOut": "ぜる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "ち", "suffixOut": "ちる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "て", "suffixOut": "てる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "で", "suffixOut": "でる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "に", "suffixOut": "にる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "ね", "suffixOut": "ねる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "ひ", "suffixOut": "ひる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "び", "suffixOut": "びる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "へ", "suffixOut": "へる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "べ", "suffixOut": "べる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "み", "suffixOut": "みる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "め", "suffixOut": "める", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "り", "suffixOut": "りる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "れ", "suffixOut": "れる", "conditionsIn": [], "conditionsOut": ["v1d"]}, - {"suffixIn": "い", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "き", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎ", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "し", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ち", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "に", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"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"]} - ] - }, - { - "name": "negative", - "rules": [ - {"suffixIn": "くない", "suffixOut": "い", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ない", "suffixOut": "る", "conditionsIn": ["adj-i"], "conditionsOut": ["v1"]}, - {"suffixIn": "かない", "suffixOut": "く", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "がない", "suffixOut": "ぐ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "さない", "suffixOut": "す", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "たない", "suffixOut": "つ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "なない", "suffixOut": "ぬ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "ばない", "suffixOut": "ぶ", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "まない", "suffixOut": "む", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "らない", "suffixOut": "る", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "わない", "suffixOut": "う", "conditionsIn": ["adj-i"], "conditionsOut": ["v5"]}, - {"suffixIn": "じない", "suffixOut": "ずる", "conditionsIn": ["adj-i"], "conditionsOut": ["vz"]}, - {"suffixIn": "しない", "suffixOut": "する", "conditionsIn": ["adj-i"], "conditionsOut": ["vs"]}, - {"suffixIn": "為ない", "suffixOut": "為る", "conditionsIn": ["adj-i"], "conditionsOut": ["vs"]}, - {"suffixIn": "こない", "suffixOut": "くる", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]}, - {"suffixIn": "来ない", "suffixOut": "来る", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]}, - {"suffixIn": "來ない", "suffixOut": "來る", "conditionsIn": ["adj-i"], "conditionsOut": ["vk"]}, - {"suffixIn": "ません", "suffixOut": "ます", "conditionsIn": ["v"], "conditionsOut": ["v"]} - ] - }, - { - "name": "noun", - "rules": [ - {"suffixIn": "さ", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "passive", - "rules": [ - {"suffixIn": "かれる", "suffixOut": "く", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "がれる", "suffixOut": "ぐ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "される", "suffixOut": "す", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "たれる", "suffixOut": "つ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "なれる", "suffixOut": "ぬ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ばれる", "suffixOut": "ぶ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "まれる", "suffixOut": "む", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "われる", "suffixOut": "う", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "られる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "じされる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "ぜされる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "される", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "為れる", "suffixOut": "為る", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "こられる", "suffixOut": "くる", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "来られる", "suffixOut": "来る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "來られる", "suffixOut": "來る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "past", - "rules": [ - {"suffixIn": "かった", "suffixOut": "い", "conditionsIn": ["past"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "た", "suffixOut": "る", "conditionsIn": ["past"], "conditionsOut": ["v1"]}, - {"suffixIn": "いた", "suffixOut": "く", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "いだ", "suffixOut": "ぐ", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "した", "suffixOut": "す", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "った", "suffixOut": "う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "った", "suffixOut": "つ", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "った", "suffixOut": "る", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "んだ", "suffixOut": "ぬ", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "んだ", "suffixOut": "ぶ", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "んだ", "suffixOut": "む", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "じた", "suffixOut": "ずる", "conditionsIn": ["past"], "conditionsOut": ["vz"]}, - {"suffixIn": "した", "suffixOut": "する", "conditionsIn": ["past"], "conditionsOut": ["vs"]}, - {"suffixIn": "為た", "suffixOut": "為る", "conditionsIn": ["past"], "conditionsOut": ["vs"]}, - {"suffixIn": "きた", "suffixOut": "くる", "conditionsIn": ["past"], "conditionsOut": ["vk"]}, - {"suffixIn": "来た", "suffixOut": "来る", "conditionsIn": ["past"], "conditionsOut": ["vk"]}, - {"suffixIn": "來た", "suffixOut": "來る", "conditionsIn": ["past"], "conditionsOut": ["vk"]}, - {"suffixIn": "いった", "suffixOut": "いく", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "おうた", "suffixOut": "おう", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "こうた", "suffixOut": "こう", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "そうた", "suffixOut": "そう", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "とうた", "suffixOut": "とう", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "行った", "suffixOut": "行く", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "逝った", "suffixOut": "逝く", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "往った", "suffixOut": "往く", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "請うた", "suffixOut": "請う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "乞うた", "suffixOut": "乞う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "恋うた", "suffixOut": "恋う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "問うた", "suffixOut": "問う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "負うた", "suffixOut": "負う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "沿うた", "suffixOut": "沿う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "添うた", "suffixOut": "添う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "副うた", "suffixOut": "副う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "厭うた", "suffixOut": "厭う", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "のたもうた", "suffixOut": "のたまう", "conditionsIn": ["past"], "conditionsOut": ["v5"]}, - {"suffixIn": "ました", "suffixOut": "ます", "conditionsIn": ["past"], "conditionsOut": ["v"]}, - {"suffixIn": "ませんでした", "suffixOut": "ません", "conditionsIn": ["past"], "conditionsOut": ["v"]} - ] - }, - { - "name": "polite", - "rules": [ - {"suffixIn": "ます", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v1"]}, - {"suffixIn": "います", "suffixOut": "う", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "きます", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "ぎます", "suffixOut": "ぐ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "します", "suffixOut": "す", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "ちます", "suffixOut": "つ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "にます", "suffixOut": "ぬ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "びます", "suffixOut": "ぶ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "みます", "suffixOut": "む", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "ります", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "じます", "suffixOut": "ずる", "conditionsIn": ["vz"], "conditionsOut": ["vz"]}, - {"suffixIn": "します", "suffixOut": "する", "conditionsIn": ["vs"], "conditionsOut": ["vs"]}, - {"suffixIn": "為ます", "suffixOut": "為る", "conditionsIn": ["vs"], "conditionsOut": ["vs"]}, - {"suffixIn": "きます", "suffixOut": "くる", "conditionsIn": ["vk"], "conditionsOut": ["vk"]}, - {"suffixIn": "来ます", "suffixOut": "来る", "conditionsIn": ["vk"], "conditionsOut": ["vk"]}, - {"suffixIn": "來ます", "suffixOut": "來る", "conditionsIn": ["vk"], "conditionsOut": ["vk"]}, - {"suffixIn": "くあります", "suffixOut": "い", "conditionsIn": ["v"], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "potential", - "rules": [ - {"suffixIn": "れる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v1", "v5"]}, - {"suffixIn": "える", "suffixOut": "う", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ける", "suffixOut": "く", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "げる", "suffixOut": "ぐ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "せる", "suffixOut": "す", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "てる", "suffixOut": "つ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ねる", "suffixOut": "ぬ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "べる", "suffixOut": "ぶ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "める", "suffixOut": "む", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "できる", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "出来る", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "これる", "suffixOut": "くる", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "来れる", "suffixOut": "来る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "來れる", "suffixOut": "來る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "potential or passive", - "rules": [ - {"suffixIn": "られる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v1"]}, - {"suffixIn": "ざれる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "ぜられる", "suffixOut": "ずる", "conditionsIn": ["v1"], "conditionsOut": ["vz"]}, - {"suffixIn": "せられる", "suffixOut": "する", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "為られる", "suffixOut": "為る", "conditionsIn": ["v1"], "conditionsOut": ["vs"]}, - {"suffixIn": "こられる", "suffixOut": "くる", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "来られる", "suffixOut": "来る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]}, - {"suffixIn": "來られる", "suffixOut": "來る", "conditionsIn": ["v1"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "volitional", - "rules": [ - {"suffixIn": "よう", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v1"]}, - {"suffixIn": "おう", "suffixOut": "う", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "こう", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ごう", "suffixOut": "ぐ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "そう", "suffixOut": "す", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "とう", "suffixOut": "つ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "のう", "suffixOut": "ぬ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ぼう", "suffixOut": "ぶ", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "もう", "suffixOut": "む", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "ろう", "suffixOut": "る", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "じよう", "suffixOut": "ずる", "conditionsIn": [], "conditionsOut": ["vz"]}, - {"suffixIn": "しよう", "suffixOut": "する", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "為よう", "suffixOut": "為る", "conditionsIn": [], "conditionsOut": ["vs"]}, - {"suffixIn": "こよう", "suffixOut": "くる", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "来よう", "suffixOut": "来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "來よう", "suffixOut": "來る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "ましょう", "suffixOut": "ます", "conditionsIn": [], "conditionsOut": ["v"]} - ] - }, - { - "name": "causative passive", - "rules": [ - {"suffixIn": "かされる", "suffixOut": "く", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "がされる", "suffixOut": "ぐ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "たされる", "suffixOut": "つ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "なされる", "suffixOut": "ぬ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "ばされる", "suffixOut": "ぶ", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "まされる", "suffixOut": "む", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "らされる", "suffixOut": "る", "conditionsIn": ["v1"], "conditionsOut": ["v5"]}, - {"suffixIn": "わされる", "suffixOut": "う", "conditionsIn": ["v1"], "conditionsOut": ["v5"]} - ] - }, - { - "name": "-toku", - "rules": [ - {"suffixIn": "とく", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v1"]}, - {"suffixIn": "いとく", "suffixOut": "く", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "いどく", "suffixOut": "ぐ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "しとく", "suffixOut": "す", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っとく", "suffixOut": "う", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っとく", "suffixOut": "つ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "っとく", "suffixOut": "る", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んどく", "suffixOut": "ぬ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んどく", "suffixOut": "ぶ", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "んどく", "suffixOut": "む", "conditionsIn": ["v5"], "conditionsOut": ["v5"]}, - {"suffixIn": "じとく", "suffixOut": "ずる", "conditionsIn": ["v5"], "conditionsOut": ["vz"]}, - {"suffixIn": "しとく", "suffixOut": "する", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "為とく", "suffixOut": "為る", "conditionsIn": ["v5"], "conditionsOut": ["vs"]}, - {"suffixIn": "きとく", "suffixOut": "くる", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "来とく", "suffixOut": "来る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]}, - {"suffixIn": "來とく", "suffixOut": "來る", "conditionsIn": ["v5"], "conditionsOut": ["vk"]} - ] - }, - { - "name": "progressive or perfect", - "rules": [ - {"suffixIn": "ている", "suffixOut": "て", "conditionsIn": ["v1"], "conditionsOut": ["-te"]}, - {"suffixIn": "ておる", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["-te"]}, - {"suffixIn": "てる", "suffixOut": "て", "conditionsIn": ["v1p"], "conditionsOut": ["-te"]}, - {"suffixIn": "でいる", "suffixOut": "で", "conditionsIn": ["v1"], "conditionsOut": ["-te"]}, - {"suffixIn": "でおる", "suffixOut": "で", "conditionsIn": ["v5"], "conditionsOut": ["-te"]}, - {"suffixIn": "でる", "suffixOut": "で", "conditionsIn": ["v1p"], "conditionsOut": ["-te"]}, - {"suffixIn": "とる", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["-te"]}, - {"suffixIn": "ないでいる", "suffixOut": "ない", "conditionsIn": ["v1"], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "-ki", - "rules": [ - {"suffixIn": "き", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "-ge", - "rules": [ - {"suffixIn": "しげ", "suffixOut": "しい", "conditionsIn": [], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "-e", - "rules": [ - {"suffixIn": "ねえ", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "めえ", "suffixOut": "むい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "みい", "suffixOut": "むい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ちぇえ", "suffixOut": "つい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ちい", "suffixOut": "つい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "せえ", "suffixOut": "すい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ええ", "suffixOut": "いい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ええ", "suffixOut": "わい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ええ", "suffixOut": "よい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "いぇえ", "suffixOut": "よい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "うぇえ", "suffixOut": "わい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "けえ", "suffixOut": "かい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "げえ", "suffixOut": "がい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "げえ", "suffixOut": "ごい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "せえ", "suffixOut": "さい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "めえ", "suffixOut": "まい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ぜえ", "suffixOut": "ずい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "っぜえ", "suffixOut": "ずい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "れえ", "suffixOut": "らい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "れえ", "suffixOut": "らい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ちぇえ", "suffixOut": "ちゃい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "でえ", "suffixOut": "どい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "れえ", "suffixOut": "れい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "べえ", "suffixOut": "ばい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "てえ", "suffixOut": "たい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ねぇ", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "めぇ", "suffixOut": "むい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "みぃ", "suffixOut": "むい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ちぃ", "suffixOut": "つい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "せぇ", "suffixOut": "すい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "けぇ", "suffixOut": "かい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "げぇ", "suffixOut": "がい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "げぇ", "suffixOut": "ごい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "せぇ", "suffixOut": "さい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "めぇ", "suffixOut": "まい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ぜぇ", "suffixOut": "ずい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "っぜぇ", "suffixOut": "ずい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "れぇ", "suffixOut": "らい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "でぇ", "suffixOut": "どい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "れぇ", "suffixOut": "れい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "べぇ", "suffixOut": "ばい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "てぇ", "suffixOut": "たい", "conditionsIn": [], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "slang", - "rules": [ - {"suffixIn": "てぇてぇ", "suffixOut": "とうとい", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "てぇてぇ", "suffixOut": "尊い", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "おなしゃす", "suffixOut": "おねがいします", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "おなしゃす", "suffixOut": "お願いします", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "あざす", "suffixOut": "ありがとうございます", "conditionsIn": [], "conditionsOut": ["v5"]}, - {"suffixIn": "さーせん", "suffixOut": "すみません", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "神ってる", "suffixOut": "神がかっている", "conditionsIn": [], "conditionsOut": ["v1p"]}, - {"suffixIn": "じわる", "suffixOut": "じわじわ来る", "conditionsIn": [], "conditionsOut": ["vk"]}, - {"suffixIn": "おさしみ", "suffixOut": "おやすみ", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "おやさい", "suffixOut": "おやすみ", "conditionsIn": [], "conditionsOut": []} - ] - }, - { - "name": "kansai-ben", - "description": "Negative form of kansai-ben verbs", - "rules": [ - {"suffixIn": "へん", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ひん", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "せえへん", "suffixOut": "しない", "conditionsIn": [], "conditionsOut": ["adj-i"]}, - {"suffixIn": "へんかった", "suffixOut": "なかった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ひんかった", "suffixOut": "なかった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "うてへん", "suffixOut": "ってない", "conditionsIn": [], "conditionsOut": ["adj-i"]} - ] - }, - { - "name": "kansai-ben", - "description": "-te form of kansai-ben verbs", - "rules": [ - {"suffixIn": "うて", "suffixOut": "って", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "おうて", "suffixOut": "あって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "こうて", "suffixOut": "かって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ごうて", "suffixOut": "がって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "そうて", "suffixOut": "さって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ぞうて", "suffixOut": "ざって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "とうて", "suffixOut": "たって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "どうて", "suffixOut": "だって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "のうて", "suffixOut": "なって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ほうて", "suffixOut": "はって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ぼうて", "suffixOut": "ばって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "もうて", "suffixOut": "まって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ろうて", "suffixOut": "らって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ようて", "suffixOut": "やって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ゆうて", "suffixOut": "いって", "conditionsIn": ["-te"], "conditionsOut": ["-te"]} - ] - }, - { - "name": "kansai-ben", - "description": "past form of kansai-ben terms", - "rules": [ - {"suffixIn": "うた", "suffixOut": "った", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "おうた", "suffixOut": "あった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "こうた", "suffixOut": "かった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ごうた", "suffixOut": "がった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "そうた", "suffixOut": "さった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ぞうた", "suffixOut": "ざった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "とうた", "suffixOut": "たった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "どうた", "suffixOut": "だった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "のうた", "suffixOut": "なった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ほうた", "suffixOut": "はった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ぼうた", "suffixOut": "ばった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "もうた", "suffixOut": "まった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ろうた", "suffixOut": "らった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ようた", "suffixOut": "やった", "conditionsIn": ["past"], "conditionsOut": ["past"]}, - {"suffixIn": "ゆうた", "suffixOut": "いった", "conditionsIn": ["past"], "conditionsOut": ["past"]} - ] - }, - { - "name": "kansai-ben", - "description": "-tara form of kansai-ben terms", - "rules": [ - {"suffixIn": "うたら", "suffixOut": "ったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "おうたら", "suffixOut": "あったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "こうたら", "suffixOut": "かったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ごうたら", "suffixOut": "がったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "そうたら", "suffixOut": "さったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ぞうたら", "suffixOut": "ざったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "とうたら", "suffixOut": "たったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "どうたら", "suffixOut": "だったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "のうたら", "suffixOut": "なったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ほうたら", "suffixOut": "はったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ぼうたら", "suffixOut": "ばったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "もうたら", "suffixOut": "まったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ろうたら", "suffixOut": "らったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ようたら", "suffixOut": "やったら", "conditionsIn": [], "conditionsOut": []}, - {"suffixIn": "ゆうたら", "suffixOut": "いったら", "conditionsIn": [], "conditionsOut": []} - ] - }, - { - "name": "kansai-ben", - "description": "-ku stem of kansai-ben adjectives", - "rules": [ - {"suffixIn": "う", "suffixOut": "く", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "こう", "suffixOut": "かく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "ごう", "suffixOut": "がく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "そう", "suffixOut": "さく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "とう", "suffixOut": "たく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "のう", "suffixOut": "なく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "ぼう", "suffixOut": "ばく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "もう", "suffixOut": "まく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "ろう", "suffixOut": "らく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "よう", "suffixOut": "よく", "conditionsIn": [], "conditionsOut": ["adv"]}, - {"suffixIn": "しゅう", "suffixOut": "しく", "conditionsIn": [], "conditionsOut": ["adv"]} - ] - }, - { - "name": "kansai-ben", - "description": "-te form of kansai-ben adjectives", - "rules": [ - {"suffixIn": "うて", "suffixOut": "くて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "こうて", "suffixOut": "かくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ごうて", "suffixOut": "がくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "そうて", "suffixOut": "さくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "とうて", "suffixOut": "たくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "のうて", "suffixOut": "なくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ぼうて", "suffixOut": "ばくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "もうて", "suffixOut": "まくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ろうて", "suffixOut": "らくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "ようて", "suffixOut": "よくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]}, - {"suffixIn": "しゅうて", "suffixOut": "しくて", "conditionsIn": ["-te"], "conditionsOut": ["-te"]} - ] - }, - { - "name": "kansai-ben", - "description": "Negative form of kansai-ben adjectives", - "rules": [ - {"suffixIn": "うない", "suffixOut": "くない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "こうない", "suffixOut": "かくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ごうない", "suffixOut": "がくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "そうない", "suffixOut": "さくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "とうない", "suffixOut": "たくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "のうない", "suffixOut": "なくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ぼうない", "suffixOut": "ばくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "もうない", "suffixOut": "まくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ろうない", "suffixOut": "らくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "ようない", "suffixOut": "よくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]}, - {"suffixIn": "しゅうない", "suffixOut": "しくない", "conditionsIn": ["adj-i"], "conditionsOut": ["adj-i"]} - ] - } - ] -} |