summaryrefslogtreecommitdiff
path: root/ext/data/language
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2024-02-08 18:53:10 +0700
committerGitHub <noreply@github.com>2024-02-08 11:53:10 +0000
commitd0eb43716b36bd770950485d806531628de9d277 (patch)
tree115277183dd16cdf14f801629b3cf2d74e1fb6d1 /ext/data/language
parentd4381831209dfbbbddd6d238c68461c9601573e2 (diff)
Stricter deinflection conditions (#644)
* stricten deinflections * relocate items * fix lint * rename iru to -te
Diffstat (limited to 'ext/data/language')
-rw-r--r--ext/data/language/japanese-transforms.json342
1 files changed, 175 insertions, 167 deletions
diff --git a/ext/data/language/japanese-transforms.json b/ext/data/language/japanese-transforms.json
index af2d0b04..b3a00a73 100644
--- a/ext/data/language/japanese-transforms.json
+++ b/ext/data/language/japanese-transforms.json
@@ -93,8 +93,16 @@
}
]
},
- "iru": {
- "name": "Intermediate -iru endings for progressive or perfect tense",
+ "-te": {
+ "name": "Intermediate -te endings for progressive or perfect tense",
+ "partsOfSpeech": []
+ },
+ "adv": {
+ "name": "Intermediate -ku endings for adverbs",
+ "partsOfSpeech": []
+ },
+ "past": {
+ "name": "-ta past form ending",
"partsOfSpeech": []
}
},
@@ -169,8 +177,8 @@
{
"name": "-shimau",
"rules": [
- {"suffixIn": "てしまう", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["iru"]},
- {"suffixIn": "でしまう", "suffixOut": "で", "conditionsIn": ["v5"], "conditionsOut": ["iru"]}
+ {"suffixIn": "てしまう", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["-te"]},
+ {"suffixIn": "でしまう", "suffixOut": "で", "conditionsIn": ["v5"], "conditionsOut": ["-te"]}
]
},
{
@@ -342,41 +350,41 @@
{
"name": "-te",
"rules": [
- {"suffixIn": "くて", "suffixOut": "い", "conditionsIn": ["iru"], "conditionsOut": ["adj-i"]},
- {"suffixIn": "て", "suffixOut": "る", "conditionsIn": ["iru"], "conditionsOut": ["v1"]},
- {"suffixIn": "いて", "suffixOut": "く", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "いで", "suffixOut": "ぐ", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "して", "suffixOut": "す", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "って", "suffixOut": "う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "って", "suffixOut": "つ", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "って", "suffixOut": "る", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "んで", "suffixOut": "ぬ", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "んで", "suffixOut": "ぶ", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "んで", "suffixOut": "む", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "じて", "suffixOut": "ずる", "conditionsIn": ["iru"], "conditionsOut": ["vz"]},
- {"suffixIn": "して", "suffixOut": "する", "conditionsIn": ["iru"], "conditionsOut": ["vs"]},
- {"suffixIn": "為て", "suffixOut": "為る", "conditionsIn": ["iru"], "conditionsOut": ["vs"]},
- {"suffixIn": "きて", "suffixOut": "くる", "conditionsIn": ["iru"], "conditionsOut": ["vk"]},
- {"suffixIn": "来て", "suffixOut": "来る", "conditionsIn": ["iru"], "conditionsOut": ["vk"]},
- {"suffixIn": "來て", "suffixOut": "來る", "conditionsIn": ["iru"], "conditionsOut": ["vk"]},
- {"suffixIn": "いって", "suffixOut": "いく", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "おうて", "suffixOut": "おう", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "こうて", "suffixOut": "こう", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "そうて", "suffixOut": "そう", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "とうて", "suffixOut": "とう", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "行って", "suffixOut": "行く", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "逝って", "suffixOut": "逝く", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "往って", "suffixOut": "往く", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "請うて", "suffixOut": "請う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "乞うて", "suffixOut": "乞う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "恋うて", "suffixOut": "恋う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "問うて", "suffixOut": "問う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "負うて", "suffixOut": "負う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "沿うて", "suffixOut": "沿う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "添うて", "suffixOut": "添う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "副うて", "suffixOut": "副う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "厭うて", "suffixOut": "厭う", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
- {"suffixIn": "のたもうて", "suffixOut": "のたまう", "conditionsIn": ["iru"], "conditionsOut": ["v5"]},
+ {"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"]}
]
},
@@ -488,7 +496,7 @@
{
"name": "adv",
"rules": [
- {"suffixIn": "く", "suffixOut": "い", "conditionsIn": [], "conditionsOut": ["adj-i"]}
+ {"suffixIn": "く", "suffixOut": "い", "conditionsIn": ["adv"], "conditionsOut": ["adj-i"]}
]
},
{
@@ -638,43 +646,43 @@
{
"name": "past",
"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"]},
- {"suffixIn": "ました", "suffixOut": "ます", "conditionsIn": [], "conditionsOut": ["v"]},
- {"suffixIn": "ませんでした", "suffixOut": "ません", "conditionsIn": [], "conditionsOut": ["v"]}
+ {"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"]}
]
},
{
@@ -790,13 +798,13 @@
{
"name": "progressive or perfect",
"rules": [
- {"suffixIn": "ている", "suffixOut": "て", "conditionsIn": ["v1"], "conditionsOut": ["iru"]},
- {"suffixIn": "ておる", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["iru"]},
- {"suffixIn": "てる", "suffixOut": "て", "conditionsIn": ["v1p"], "conditionsOut": ["iru"]},
- {"suffixIn": "でいる", "suffixOut": "で", "conditionsIn": ["v1"], "conditionsOut": ["iru"]},
- {"suffixIn": "でおる", "suffixOut": "で", "conditionsIn": ["v5"], "conditionsOut": ["iru"]},
- {"suffixIn": "でる", "suffixOut": "で", "conditionsIn": ["v1p"], "conditionsOut": ["iru"]},
- {"suffixIn": "とる", "suffixOut": "て", "conditionsIn": ["v5"], "conditionsOut": ["iru"]},
+ {"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"]}
]
},
@@ -881,102 +889,51 @@
{"suffixIn": "へん", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]},
{"suffixIn": "ひん", "suffixOut": "ない", "conditionsIn": [], "conditionsOut": ["adj-i"]},
{"suffixIn": "せえへん", "suffixOut": "しない", "conditionsIn": [], "conditionsOut": ["adj-i"]},
- {"suffixIn": "へんかった", "suffixOut": "なかった", "conditionsIn": [], "conditionsOut": []},
- {"suffixIn": "ひんかった", "suffixOut": "なかった", "conditionsIn": [], "conditionsOut": []},
+ {"suffixIn": "へんかった", "suffixOut": "なかった", "conditionsIn": ["past"], "conditionsOut": ["past"]},
+ {"suffixIn": "ひんかった", "suffixOut": "なかった", "conditionsIn": ["past"], "conditionsOut": ["past"]},
{"suffixIn": "うてへん", "suffixOut": "ってない", "conditionsIn": [], "conditionsOut": ["adj-i"]}
]
},
{
"name": "kansai-ben",
- "description": "-ku stem of kansai-ben adjectives",
- "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": []}
- ]
- },
- {
- "name": "kansai-ben",
- "description": "-te form of kansai-ben adjectives",
- "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": []}
- ]
- },
- {
- "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"]}
- ]
- },
- {
- "name": "kansai-ben",
"description": "-te form of kansai-ben verbs",
"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": []}
+ {"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": [], "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": []}
+ {"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"]}
]
},
{
@@ -999,6 +956,57 @@
{"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"]}
+ ]
}
]
}