aboutsummaryrefslogtreecommitdiff
path: root/ext/data/language/japanese-transforms.json
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-02-23 13:32:03 +0100
committerGitHub <noreply@github.com>2024-02-23 12:32:03 +0000
commit9b5de0d2d4cb224751c57bdae6558a046351c2f4 (patch)
treeb8d2c0330524a4829e4557d3e584edf60833083d /ext/data/language/japanese-transforms.json
parent8078e0ec7279916e56bdc8bab88ee7f1e1594425 (diff)
fix translator bug, simplify language-transformer (#687)24.2.23.0
* simplify transformer * use isPartOfSpeech * simplify * rename to isDictionaryForm * NOP --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Diffstat (limited to 'ext/data/language/japanese-transforms.json')
-rw-r--r--ext/data/language/japanese-transforms.json38
1 files changed, 19 insertions, 19 deletions
diff --git a/ext/data/language/japanese-transforms.json b/ext/data/language/japanese-transforms.json
index b1f39cbc..0812f01e 100644
--- a/ext/data/language/japanese-transforms.json
+++ b/ext/data/language/japanese-transforms.json
@@ -3,107 +3,107 @@
"conditions": {
"v": {
"name": "Verb",
- "partsOfSpeech": ["v1", "v5", "vk", "vs", "vz"],
"i18n": [
{
"language": "ja",
"name": "動詞"
}
],
+ "isDictionaryForm": false,
"subConditions": ["v1", "v5", "vk", "vs", "vz"]
},
"v1": {
"name": "Ichidan verb",
- "partsOfSpeech": ["v1"],
"i18n": [
{
"language": "ja",
"name": "一段動詞"
}
],
+ "isDictionaryForm": true,
"subConditions": ["v1d", "v1p"]
},
"v1d": {
"name": "Ichidan verb, dictionary form",
- "partsOfSpeech": ["v1"],
"i18n": [
{
"language": "ja",
"name": "一段動詞、辞書形"
}
- ]
+ ],
+ "isDictionaryForm": false
},
"v1p": {
"name": "Ichidan verb, progressive or perfect form",
- "partsOfSpeech": ["v1"],
"i18n": [
{
"language": "ja",
"name": "一段動詞、進行形または完了形"
}
- ]
+ ],
+ "isDictionaryForm": false
},
"v5": {
"name": "Godan verb",
- "partsOfSpeech": ["v5"],
"i18n": [
{
"language": "ja",
"name": "五段動詞"
}
- ]
+ ],
+ "isDictionaryForm": true
},
"vk": {
"name": "Kuru verb",
- "partsOfSpeech": ["vk"],
"i18n": [
{
"language": "ja",
"name": "来る動詞"
}
- ]
+ ],
+ "isDictionaryForm": true
},
"vs": {
"name": "Suru verb",
- "partsOfSpeech": ["vs"],
"i18n": [
{
"language": "ja",
"name": "する動詞"
}
- ]
+ ],
+ "isDictionaryForm": true
},
"vz": {
"name": "Zuru verb",
- "partsOfSpeech": ["vz"],
"i18n": [
{
"language": "ja",
"name": "ずる動詞"
}
- ]
+ ],
+ "isDictionaryForm": true
},
"adj-i": {
"name": "Adjective with i ending",
- "partsOfSpeech": ["adj-i"],
"i18n": [
{
"language": "ja",
"name": "形容詞"
}
- ]
+ ],
+ "isDictionaryForm": true
},
"-te": {
"name": "Intermediate -te endings for progressive or perfect tense",
- "partsOfSpeech": []
+ "isDictionaryForm": false
},
"adv": {
"name": "Intermediate -ku endings for adverbs",
- "partsOfSpeech": []
+ "isDictionaryForm": false
},
"past": {
"name": "-ta past form ending",
- "partsOfSpeech": []
+ "isDictionaryForm": false
}
},
"transforms": [