From 3516092f9d3ac3d85427666d83b84bba4954c1ad Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 18:15:51 +0200 Subject: [PATCH 1/7] mvp --- 3-tidy-up.js | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index d5f53ea..3b311df 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -370,8 +370,8 @@ function getCanonicalForm({word, forms}) { function getReading(word, line){ switch(sourceIso){ - case 'fa': - return getPersianReading(word, line); + case 'fa': return getPersianReading(word, line); + case 'ja': return getJapaneseReading(word, line); default: return word; } @@ -384,6 +384,34 @@ function getPersianReading(word, line){ return romanization ? romanization.form : word; } +function getJapaneseReading(word, line){ + const {head_templates} = line; + if(!head_templates) { + console.log('No head_templates found for Japanese word:', word); + return word; + } + if(!Array.isArray(head_templates) || head_templates.length === 0) { + // console.log('head_templates is not an array or empty:', word, head_templates); + return word; + } + if (head_templates.length > 1) { + // console.log('Multiple head_templates found for Japanese word:', word, head_templates); + } + for (const template of head_templates) { + switch(template.name) { + case 'ja-noun': + case 'ja-adj': + case 'ja-verb': + const reading = template?.args?.[1]; + return reading ? reading : word; + default: + // console.log('Unknown head_template:', word, head_templates); + } + } + + return word; +} + function handleAutomatedForms() { consoleOverwrite('3-tidy-up.js: Handling automated forms...'); From 70ed0b6ee23524a024af133ba8cae66b8210ca6e Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 18:15:57 +0200 Subject: [PATCH 2/7] mvp --- data/test/dict/ja/en/tag_bank_1.json | 79 + data/test/dict/ja/en/term_bank_1.json | 196 ++ data/test/dict/ja/en/term_bank_2.json | 3508 +++++++++++++++++++++ data/test/ipa/ja/en/tag_bank_1.json | 1 + data/test/ipa/ja/en/term_meta_bank_1.json | 62 + data/test/kaikki/ja-en.json | 4 + data/test/tidy/ja-en-forms-0.json | 2746 ++++++++++++++++ data/test/tidy/ja-en-lemmas.json | 257 ++ 8 files changed, 6853 insertions(+) create mode 100644 data/test/dict/ja/en/tag_bank_1.json create mode 100644 data/test/dict/ja/en/term_bank_1.json create mode 100644 data/test/dict/ja/en/term_bank_2.json create mode 100644 data/test/ipa/ja/en/tag_bank_1.json create mode 100644 data/test/ipa/ja/en/term_meta_bank_1.json create mode 100644 data/test/kaikki/ja-en.json create mode 100644 data/test/tidy/ja-en-forms-0.json create mode 100644 data/test/tidy/ja-en-lemmas.json diff --git a/data/test/dict/ja/en/tag_bank_1.json b/data/test/dict/ja/en/tag_bank_1.json new file mode 100644 index 0000000..2918aa4 --- /dev/null +++ b/data/test/dict/ja/en/tag_bank_1.json @@ -0,0 +1,79 @@ +[ + [ + "adj", + "partOfSpeech", + -1, + "adjective", + 1 + ], + [ + "n", + "partOfSpeech", + -1, + "noun", + 1 + ], + [ + "fig", + "", + 0, + "figuratively", + 0 + ], + [ + "fig", + "", + 0, + "figurative", + 0 + ], + [ + "abbv", + "", + 0, + "abbreviation", + 0 + ], + [ + "rare", + "", + 1, + "rare", + -1 + ], + [ + "obs", + "archaism", + 0, + "obsolete", + 0 + ], + [ + "v", + "partOfSpeech", + -1, + "verb", + 1 + ], + [ + "vt", + "partOfSpeech", + -1, + "transitive verb", + 1 + ], + [ + "euph", + "", + 0, + "euphemistic", + 0 + ], + [ + "music", + "", + 0, + "music", + 0 + ] +] \ No newline at end of file diff --git a/data/test/dict/ja/en/term_bank_1.json b/data/test/dict/ja/en/term_bank_1.json new file mode 100644 index 0000000..1d5c627 --- /dev/null +++ b/data/test/dict/ja/en/term_bank_1.json @@ -0,0 +1,196 @@ +[ + [ + "楽しい", + "たのしい", + "adj", + "adj", + 0, + [ + "pleasant, delightful, fun, enjoyable" + ], + 0, + "" + ], + [ + "好き", + "すき", + "adj", + "adj", + 0, + [ + "liked, favorite" + ], + 0, + "" + ], + [ + "狸", + "たぬき", + "n", + "n", + 0, + [ + "a raccoon dog, Nyctereutes procyonoides" + ], + 0, + "" + ], + [ + "狸", + "たぬき", + "n fig", + "n", + 0, + [ + "a person who pretends to be good but in fact is cunning (compare English sly fox)" + ], + 0, + "" + ], + [ + "狸", + "たぬき", + "n abbv", + "n", + 0, + [ + "Short for 狸饂飩 (tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes" + ], + 0, + "" + ], + [ + "狸", + "たぬき", + "n abbv rare", + "n", + 0, + [ + "Short for 狸寝入り (tanuki neiri): pretending to be asleep" + ], + 0, + "" + ], + [ + "狸", + "たぬき", + "n abbv obs rare", + "n", + 0, + [ + "Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc." + ], + 0, + "" + ], + [ + "走る", + "はしる", + "v", + "v", + 0, + [ + { + "type": "structured-content", + "content": [ + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": "to run (move fast on foot)" + }, + { + "tag": "div", + "data": { + "listType": "ol" + }, + "style": { + "marginLeft": 2 + }, + "content": [ + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": [ + { + "tag": "span", + "data": { + "listType": "number" + }, + "content": "1. " + }, + "to move forward; (of a machine) to operate, function; (of objects) to move at a high speed (of a vehicle)" + ] + }, + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": [ + { + "tag": "span", + "data": { + "listType": "number" + }, + "content": "2. " + }, + "to flow vigorously (of liquid)" + ] + } + ] + } + ] + }, + "to move smoothly; to slide", + "to run away, escape", + "to rush, hurry around", + "to give over oneself to; to commit oneself to (usually something bad)", + "to spread out, scatter, splatter, spout", + "to lead or extend in a certain direction", + "to appear briefly; to flash", + "(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease" + ], + 0, + "" + ], + [ + "走る", + "はしる", + "v vt", + "v", + 0, + [ + "to run through some kind of place" + ], + 0, + "" + ], + [ + "走る", + "はしる", + "v euph", + "v", + 0, + [ + "to crack" + ], + 0, + "" + ], + [ + "走る", + "はしる", + "v music", + "v", + 0, + [ + "Alternative spelling of ハシる" + ], + 0, + "" + ] +] \ No newline at end of file diff --git a/data/test/dict/ja/en/term_bank_2.json b/data/test/dict/ja/en/term_bank_2.json new file mode 100644 index 0000000..4febd77 --- /dev/null +++ b/data/test/dict/ja/en/term_bank_2.json @@ -0,0 +1,3508 @@ +[ + [ + "tanoshii", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "attributive" + ] + ], + [ + "楽しい", + [ + "romanization" + ] + ], + [ + "楽しい", + [ + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "楽しく", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "adverbial" + ] + ], + [ + "楽しい", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "楽しかろ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperfective", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "たのしかろ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperfective", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikaro", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperfective" + ] + ] + ], + 0, + "" + ], + [ + "たのしく", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "adverbial" + ] + ], + [ + "楽しい", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "tanoshiku", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "adverbial" + ] + ], + [ + "楽しい", + [ + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "たのしい", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "attributive", + "stem" + ] + ], + [ + "楽しい", + [ + "stem", + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "楽しけれ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "hypothetical", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "たのしけれ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "hypothetical", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikere", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "hypothetical" + ] + ] + ], + 0, + "" + ], + [ + "楽しかれ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "たのしかれ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikare", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "imperative" + ] + ] + ], + 0, + "" + ], + [ + "楽しくない", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "たのしくない", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "tanoshiku nai", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "楽しかった", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "たのしかった", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikatta", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "楽しくなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "たのしくなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "tanoshiku nakatta", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "楽しいです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "たのしいです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "tanoshii desu", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "楽しくないです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "たのしくないです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "tanoshiku nai desu", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "楽しかったです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "たのしかったです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikatta desu", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "楽しくなかったです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "たのしくなかったです", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "tanoshiku nakatta desu", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "楽しくて", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "たのしくて", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikute", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "楽しければ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "たのしければ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikereba", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "楽しかったら", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "たのしかったら", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikattara", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "楽しかろう", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "たのしかろう", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "tanoshikarō", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "楽しさ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "たのしさ", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "tanoshisa", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "suki", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "好きな", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "adnominal" + ] + ], + [ + "好き", + [ + "attributive", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "好きに", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "adverbial" + ] + ] + ], + 0, + "" + ], + [ + "好きだろ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperfective", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "すきだろ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperfective", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "suki daro", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperfective" + ] + ] + ], + 0, + "" + ], + [ + "好きで", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conjunctive" + ] + ], + [ + "好き", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "すきで", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conjunctive" + ] + ], + [ + "好き", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "suki de", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conjunctive" + ] + ], + [ + "好き", + [ + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "好きだ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "stem", + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "すきだ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "stem", + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "suki da", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "すきな", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "attributive", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "suki na", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "attributive" + ] + ] + ], + 0, + "" + ], + [ + "好きなら", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "hypothetical", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "すきなら", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "hypothetical", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "suki nara", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "hypothetical" + ] + ] + ], + 0, + "" + ], + [ + "好きであれ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "すきであれ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "suki de are", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "imperative" + ] + ] + ], + 0, + "" + ], + [ + "好きではない", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きじゃない", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきではない", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきじゃない", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki de wa nai", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki ja nai", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きだった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "すきだった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "suki datta", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "好きではなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きじゃなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきではなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきじゃなかった", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki de wa nakatta", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki ja nakatta", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "informal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きです", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "すきです", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "suki desu", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "好きではありません", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きじゃありません", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきではありません", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきじゃありません", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki de wa arimasen", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki ja arimasen", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "すきでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "suki deshita", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past" + ] + ] + ], + 0, + "" + ], + [ + "好きではありませんでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きじゃありませんでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきではありませんでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "すきじゃありませんでした", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki de wa arimasen deshita", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "suki ja arimasen deshita", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "formal", + "past", + "negative" + ] + ] + ], + 0, + "" + ], + [ + "好きなら(ば)", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "すきなら(ば)", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "suki nara (ba)", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "好きだったら", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "すきだったら", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "suki dattara", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "past", + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "好きだろう", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "すきだろう", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "suki darō", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "すきに", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "adverbial" + ] + ] + ], + 0, + "" + ], + [ + "suki ni", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "adverbial" + ] + ] + ], + 0, + "" + ], + [ + "好きさ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "すきさ", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "sukisa", + "", + "non-lemma", + "", + 0, + [ + [ + "好き", + [ + "noun-from-adj" + ] + ] + ], + 0, + "" + ], + [ + "tanuki", + "", + "non-lemma", + "", + 0, + [ + [ + "狸", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "hashiru", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "走り", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "stem" + ] + ], + [ + "走る", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "走った", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ], + [ + "走る", + [ + "perfective" + ] + ] + ], + 0, + "" + ], + [ + "走られる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "passive" + ] + ] + ], + 0, + "" + ], + [ + "はしられる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "passive" + ] + ] + ], + 0, + "" + ], + [ + "hashirareru", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "passive" + ] + ] + ], + 0, + "" + ], + [ + "走らせる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "走らす", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "はしらせる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "はしらす", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "hashiraseru", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "hashirasu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "走れる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "potential" + ] + ] + ], + 0, + "" + ], + [ + "はしれる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "potential" + ] + ] + ], + 0, + "" + ], + [ + "hashireru", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "potential" + ] + ] + ], + 0, + "" + ], + [ + "走ろう", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "はしろう", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "hashirō", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "走らない", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ] + ], + 0, + "" + ], + [ + "はしらない", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ] + ], + 0, + "" + ], + [ + "hashiranai", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ] + ], + 0, + "" + ], + [ + "走らず", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ], + [ + "走る", + [ + "negative", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "はしらず", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ], + [ + "走る", + [ + "negative", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "hashirazu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "走ります", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "はしります", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "hashirimasu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "formal" + ] + ] + ], + 0, + "" + ], + [ + "はしった", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfective" + ] + ] + ], + 0, + "" + ], + [ + "hashitta", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfective" + ] + ] + ], + 0, + "" + ], + [ + "走って", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "はしって", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "hashitte", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conjunctive" + ] + ] + ], + 0, + "" + ], + [ + "走れば", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ], + [ + "走る", + [ + "conditional", + "hypothetical" + ] + ] + ], + 0, + "" + ], + [ + "はしれば", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ], + [ + "走る", + [ + "conditional", + "hypothetical" + ] + ] + ], + 0, + "" + ], + [ + "hashireba", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conditional", + "hypothetical" + ] + ] + ], + 0, + "" + ], + [ + "走ら", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "irrealis", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "はしら", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "irrealis", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "fasira", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "irrealis" + ] + ] + ], + 0, + "" + ], + [ + "はしり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "continuative", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "fasiri", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "はしる", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "attributive", + "stem" + ] + ], + [ + "走る", + [ + "stem", + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "fasiru", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "attributive" + ] + ], + [ + "走る", + [ + "terminative" + ] + ] + ], + 0, + "" + ], + [ + "走れ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "imperative", + "stem" + ] + ], + [ + "走る", + [ + "realis", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "はしれ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "imperative", + "stem" + ] + ], + [ + "走る", + [ + "realis", + "stem" + ] + ] + ], + 0, + "" + ], + [ + "fasire", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "imperative" + ] + ], + [ + "走る", + [ + "realis" + ] + ] + ], + 0, + "" + ], + [ + "fasirazu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "negative" + ] + ] + ], + 0, + "" + ], + [ + "走れど", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "contrastive" + ] + ] + ], + 0, + "" + ], + [ + "はしれど", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "contrastive" + ] + ] + ], + 0, + "" + ], + [ + "fasiredo", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "contrastive" + ] + ] + ], + 0, + "" + ], + [ + "fasireba", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "causative" + ] + ] + ], + 0, + "" + ], + [ + "走らば", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "はしらば", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "fasiraba", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "conditional" + ] + ] + ], + 0, + "" + ], + [ + "走りき", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "はしりき", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "fasiriki", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "走りけり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "はしりけり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "fasirikeri", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "past" + ] + ] + ], + 0, + "" + ], + [ + "走りつ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "はしりつ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "fasiritu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "走りぬ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "はしりぬ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "fasirinu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect" + ] + ] + ], + 0, + "" + ], + [ + "走れり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "走りたり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "はしれり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "はしりたり", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "fasireri", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "fasiritari", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "perfect", + "continuative" + ] + ] + ], + 0, + "" + ], + [ + "走らむ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "はしらむ", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ], + [ + "fasiramu", + "", + "non-lemma", + "", + 0, + [ + [ + "走る", + [ + "volitional" + ] + ] + ], + 0, + "" + ] +] \ No newline at end of file diff --git a/data/test/ipa/ja/en/tag_bank_1.json b/data/test/ipa/ja/en/tag_bank_1.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/data/test/ipa/ja/en/tag_bank_1.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/data/test/ipa/ja/en/term_meta_bank_1.json b/data/test/ipa/ja/en/term_meta_bank_1.json new file mode 100644 index 0000000..7cb623f --- /dev/null +++ b/data/test/ipa/ja/en/term_meta_bank_1.json @@ -0,0 +1,62 @@ +[ + [ + "楽しい", + "ipa", + { + "reading": "たのしい", + "transcriptions": [ + { + "ipa": "[ta̠no̞ɕiː]", + "tags": [] + } + ] + } + ], + [ + "好き", + "ipa", + { + "reading": "すき", + "transcriptions": [ + { + "ipa": "[sɨ̥kʲi]", + "tags": [] + }, + { + "ipa": "/su.ki/", + "tags": [] + }, + { + "ipa": "[sɯᵝ˦.ki˨]", + "tags": [] + } + ] + } + ], + [ + "狸", + "ipa", + { + "reading": "たぬき", + "transcriptions": [ + { + "ipa": "[ta̠nɯ̟kʲi]", + "tags": [] + } + ] + } + ], + [ + "走る", + "ipa", + { + "reading": "はしる", + "transcriptions": [ + { + "ipa": "[ha̠ɕiɾɯ̟]", + "tags": [] + } + ] + } + ] +] \ No newline at end of file diff --git a/data/test/kaikki/ja-en.json b/data/test/kaikki/ja-en.json new file mode 100644 index 0000000..f62a318 --- /dev/null +++ b/data/test/kaikki/ja-en.json @@ -0,0 +1,4 @@ +{"pos": "adj", "head_templates": [{"name": "ja-adj", "args": {"infl": "i", "1": "たのしい"}, "expansion": "楽(たの)しい • (tanoshii) -i (adverbial 楽(たの)しく (tanoshiku))"}], "forms": [{"form": "楽しい", "ruby": [["楽", "たの"]], "tags": ["canonical"]}, {"form": "tanoshii", "tags": ["romanization"]}, {"form": "楽しく", "roman": "tanoshiku", "ruby": [["楽", "たの"]], "tags": ["adverbial"]}, {"form": "no-table-tags", "source": "inflection", "tags": ["table-tags"]}, {"form": "ja-i", "source": "inflection", "tags": ["inflection-template"]}, {"form": "楽しかろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "たのしかろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "tanoshikaro", "tags": ["imperfective"], "source": "inflection"}, {"form": "楽しく", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "たのしく", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "tanoshiku", "tags": ["continuative"], "source": "inflection"}, {"form": "楽しい", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "たのしい", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "tanoshii", "tags": ["terminative"], "source": "inflection"}, {"form": "楽しい", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "たのしい", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "tanoshii", "tags": ["attributive"], "source": "inflection"}, {"form": "楽しけれ", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "たのしけれ", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "tanoshikere", "tags": ["hypothetical"], "source": "inflection"}, {"form": "楽しかれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "たのしかれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "tanoshikare", "tags": ["imperative"], "source": "inflection"}, {"form": "楽しくない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "たのしくない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "tanoshiku nai", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "楽しかった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "たのしかった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "tanoshikatta", "tags": ["informal", "past"], "source": "inflection"}, {"form": "楽しくなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "たのしくなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "tanoshiku nakatta", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "楽しいです", "tags": ["formal"], "source": "inflection"}, {"form": "たのしいです", "tags": ["formal"], "source": "inflection"}, {"form": "tanoshii desu", "tags": ["formal"], "source": "inflection"}, {"form": "楽しくないです", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "たのしくないです", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "tanoshiku nai desu", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "楽しかったです", "tags": ["formal", "past"], "source": "inflection"}, {"form": "たのしかったです", "tags": ["formal", "past"], "source": "inflection"}, {"form": "tanoshikatta desu", "tags": ["formal", "past"], "source": "inflection"}, {"form": "楽しくなかったです", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "たのしくなかったです", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "tanoshiku nakatta desu", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "楽しくて", "tags": ["conjunctive"], "source": "inflection"}, {"form": "たのしくて", "tags": ["conjunctive"], "source": "inflection"}, {"form": "tanoshikute", "tags": ["conjunctive"], "source": "inflection"}, {"form": "楽しければ", "tags": ["conditional"], "source": "inflection"}, {"form": "たのしければ", "tags": ["conditional"], "source": "inflection"}, {"form": "tanoshikereba", "tags": ["conditional"], "source": "inflection"}, {"form": "楽しかったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "たのしかったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "tanoshikattara", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "楽しかろう", "tags": ["volitional"], "source": "inflection"}, {"form": "たのしかろう", "tags": ["volitional"], "source": "inflection"}, {"form": "tanoshikarō", "tags": ["volitional"], "source": "inflection"}, {"form": "楽しく", "tags": ["adverbial"], "source": "inflection"}, {"form": "たのしく", "tags": ["adverbial"], "source": "inflection"}, {"form": "tanoshiku", "tags": ["adverbial"], "source": "inflection"}, {"form": "楽しさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "たのしさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "tanoshisa", "tags": ["noun-from-adj"], "source": "inflection"}], "inflection_templates": [{"name": "ja-adj-infl", "args": {"lemma": "楽し", "kana": "たのし", "imperfective": "かろ", "continuative": "く", "terminal": "い", "attributive": "い", "hypothetical": "けれ", "imperative": "かれ", "informal_negative": "く ない", "informal_past": "かった", "informal_negative_past": "く なかった", "formal": "い です", "formal_negative": "く ない です", "formal_past": "かった です", "formal_negative_past": "く なかった です", "conjunctive": "くて", "conditional": "ければ", "provisional": "かったら", "volitional": "かろう", "adverbial": "く", "degree": "さ"}}], "antonyms": [{"roman": "kurushii", "ruby": [["苦", "くる"]], "word": "苦しい"}, {"roman": "tsumaranai", "word": "つまらない"}], "sounds": [{"other": "たのしい"}, {"ipa": "[ta̠no̞ɕiː]"}], "etymology_text": "⟨tano₁siki₁⟩ → */tanʷosikʲi/ → /tanoshii/\nFrom Old Japanese. First attested in the Kojiki of 712 CE. No Ryukyuan cognates exist; as as result, further derivation unknown. Theories include:\n* A compound of 手 (ta, “hand”, combining form) + 伸す (nosu, “to extend”)\n*: This is problematic, as nosu has first been attested starting from the early 900s, with no A/B distinction (see Jōdai Tokushu Kanazukai for details).\n* From 田神 (tano, literally “rice paddy god”)\n*: No reading of 神 (*no, “god”) exists.\n* A borrowing from an unknown language\n*: No words resemble *tanV meaning \"fun\" or \"to enjoy\".", "etymology_templates": [{"name": "IPAfont", "args": {"1": "⟨tano₁siki₁⟩"}, "expansion": "⟨tano₁siki₁⟩"}, {"name": "inh", "args": {"1": "ja", "2": "ojp", "3": "-", "sort": "たのしい"}, "expansion": "Old Japanese"}, {"name": "C.E.", "args": {"nodots": "1"}, "expansion": "CE"}, {"name": "CE", "args": {}, "expansion": "CE"}, {"name": "unk", "args": {"1": "ja", "nocap": "1"}, "expansion": "unknown"}], "word": "楽しい", "lang": "Japanese", "lang_code": "ja", "senses": [{"links": [["pleasant", "pleasant"], ["delightful", "delightful"], ["fun", "fun"], ["enjoyable", "enjoyable"]], "glosses": ["pleasant, delightful, fun, enjoyable"], "wikipedia": ["Jōdai Tokushu Kanazukai", "Kojiki", "Nihon Kokugo Daijiten"], "id": "en-楽しい-ja-adj-UPyNo~vk", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w"}, {"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w"}], "synonyms": [{"roman": "omoshiroi", "ruby": [["面", "おも"], ["白", "しろ"]], "english": "fun, interesting", "word": "面白い"}], "related": [{"roman": "tanoshimu", "ruby": [["楽", "たの"]], "word": "楽しむ"}]}]} +{"pos": "adj", "head_templates": [{"name": "ja-adj", "args": {"infl": "na", "1": "すき"}, "expansion": "好(す)き • (suki) -na (adnominal 好(す)きな (suki na), adverbial 好(す)きに (suki ni))"}], "forms": [{"form": "好き", "ruby": [["好", "す"]], "tags": ["canonical"]}, {"form": "suki", "tags": ["romanization"]}, {"form": "好きな", "roman": "suki na", "ruby": [["好", "す"]], "tags": ["adnominal"]}, {"form": "好きに", "roman": "suki ni", "ruby": [["好", "す"]], "tags": ["adverbial"]}, {"form": "no-table-tags", "source": "inflection", "tags": ["table-tags"]}, {"form": "ja-na", "source": "inflection", "tags": ["inflection-template"]}, {"form": "好きだろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "すきだろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "suki daro", "tags": ["imperfective"], "source": "inflection"}, {"form": "好きで", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "すきで", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "suki de", "tags": ["continuative"], "source": "inflection"}, {"form": "好きだ", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "すきだ", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "suki da", "tags": ["terminative"], "source": "inflection"}, {"form": "好きな", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "すきな", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "suki na", "tags": ["attributive"], "source": "inflection"}, {"form": "好きなら", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "すきなら", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "suki nara", "tags": ["hypothetical"], "source": "inflection"}, {"form": "好きであれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "すきであれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "suki de are", "tags": ["imperative"], "source": "inflection"}, {"form": "好きではない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "好きじゃない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "すきではない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "すきじゃない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "suki de wa nai", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "suki ja nai", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "好きだった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "すきだった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "suki datta", "tags": ["informal", "past"], "source": "inflection"}, {"form": "好きではなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "好きじゃなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "すきではなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "すきじゃなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "suki de wa nakatta", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "suki ja nakatta", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "好きです", "tags": ["formal"], "source": "inflection"}, {"form": "すきです", "tags": ["formal"], "source": "inflection"}, {"form": "suki desu", "tags": ["formal"], "source": "inflection"}, {"form": "好きではありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "好きじゃありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "すきではありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "すきじゃありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "suki de wa arimasen", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "suki ja arimasen", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "好きでした", "tags": ["formal", "past"], "source": "inflection"}, {"form": "すきでした", "tags": ["formal", "past"], "source": "inflection"}, {"form": "suki deshita", "tags": ["formal", "past"], "source": "inflection"}, {"form": "好きではありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "好きじゃありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "すきではありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "すきじゃありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "suki de wa arimasen deshita", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "suki ja arimasen deshita", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "好きで", "tags": ["conjunctive"], "source": "inflection"}, {"form": "すきで", "tags": ["conjunctive"], "source": "inflection"}, {"form": "suki de", "tags": ["conjunctive"], "source": "inflection"}, {"form": "好きなら(ば)", "tags": ["conditional"], "source": "inflection"}, {"form": "すきなら(ば)", "tags": ["conditional"], "source": "inflection"}, {"form": "suki nara (ba)", "tags": ["conditional"], "source": "inflection"}, {"form": "好きだったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "すきだったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "suki dattara", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "好きだろう", "tags": ["volitional"], "source": "inflection"}, {"form": "すきだろう", "tags": ["volitional"], "source": "inflection"}, {"form": "suki darō", "tags": ["volitional"], "source": "inflection"}, {"form": "好きに", "tags": ["adverbial"], "source": "inflection"}, {"form": "すきに", "tags": ["adverbial"], "source": "inflection"}, {"form": "suki ni", "tags": ["adverbial"], "source": "inflection"}, {"form": "好きさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "すきさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "sukisa", "tags": ["noun-from-adj"], "source": "inflection"}], "inflection_templates": [{"name": "ja-adj-infl", "args": {"lemma": "好き", "kana": "すき", "imperfective": ". だろ", "continuative": ". で", "terminal": ". だ", "attributive": ". な", "hypothetical": ". なら", "imperative": ". で あれ", "informal_negative": ". で は ない", "informal_negative2": ". じゃ ない", "informal_past": ". だった", "informal_negative_past": ". で は なかった", "informal_negative_past2": ". じゃ なかった", "formal": ". です", "formal_negative": ". で は ありません", "formal_negative2": ". じゃ ありません", "formal_past": ". でした", "formal_negative_past": ". で は ありません でした", "formal_negative_past2": ". じゃ ありません でした", "conjunctive": ". で", "conditional": ". なら(ば)", "provisional": ". だったら", "volitional": ". だろう", "adverbial": ". に", "degree": "さ"}}], "sounds": [{"other": "すき"}, {"ipa": "[sɨ̥kʲi]"}, {"ipa": "/su.ki/"}, {"ipa": "[sɯᵝ˦.ki˨]"}], "etymology_number": 1, "wikipedia": ["Nihon Kokugo Daijiten", "Utsubo Monogatari", "ja:宇津保物語"], "etymology_text": "The 連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”) of the verb 好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”).\nFirst cited to the late 900s in the 宇津保物語 (Utsubo Monogatari).", "etymology_templates": [{"name": "ja-r", "args": {"1": "連%用%形", "2": "れん%よう%けい", "rom": "ren'yōkei", "3": "stem or continuative form"}, "expansion": "連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”)"}, {"name": "ja-r", "args": {"1": "好く", "2": "すく", "3": "to like, to be fond of, to enjoy, to feel love for", "pos": ""}, "expansion": "好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”)"}, {"name": "ja-etym-renyokei", "args": {"1": "好く", "2": "すく", "3": "to like, to be fond of, to enjoy, to feel love for"}, "expansion": "連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”) of the verb 好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”)."}], "word": "好き", "lang": "Japanese", "lang_code": "ja", "synonyms": [{"tags": ["slang"], "roman": "shuki", "word": "しゅき", "_dis1": "0 0 0"}, {"roman": "suko", "word": "すこ", "_dis1": "0 0 0"}], "senses": [{"examples": [{"text": "好きな食べ物は? アイスクリームです。", "english": "What's your favorite food? - It's ice cream.", "roman": "Suki na tabemono wa? Aisu kurīmu desu.", "ruby": [["好", "す"], ["食", "た"], ["物", "もの"]]}, {"text": "君が好きだからこそこれほど頑張っているんだよ。", "english": "It's precisely because I like you [because of my fondness for you] that I'm working this hard.", "roman": "Kimi ga suki da kara koso kore hodo ganbatte iru n da yo.", "ruby": [["君", "きみ"], ["好", "す"], ["頑", "がん"], ["張", "ば"]]}, {"text": "好きです。\nSuki desu.\n“I like you.” → idiomatically used to express: “I love you.”", "ruby": [["好", "す"]]}, {"text": "どうとも好きにしなさい。", "english": "Feel free to do as you like.", "roman": "Dō to mo suki ni shinasai.", "ruby": [["好", "す"]]}], "links": [["liked", "liked"], ["favorite", "favorite"]], "antonyms": [{"word": "嫌い"}], "glosses": ["liked, favorite"], "id": "en-好き-ja-adj-pMQ0Pij2", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "37 26 35 2"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "48 49 3"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "34 28 35 3"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "33 23 37 7"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "33 27 37 3"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "46 51 3"}]}]} +{"pos": "noun", "head_templates": [{"name": "ja-noun", "args": {"1": "たぬき", "2": "タヌキ"}, "expansion": "狸(たぬき) or 狸(タヌキ) • (tanuki)"}], "forms": [{"form": "狸", "ruby": [["狸", "たぬき"]], "tags": ["canonical"]}, {"form": "狸", "ruby": [["狸", "タヌキ"]], "tags": ["canonical"]}, {"form": "tanuki", "tags": ["romanization"]}], "proverbs": [{"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台"}, {"roman": "tanuki no haratsuzumi", "ruby": [["狸", "たぬき"], ["腹", "はら"], ["鼓", "つづみ"]], "word": "狸の腹鼓"}, {"roman": "kitsune to tanuki no bakashi ai", "ruby": [["狐", "きつね"], ["狸", "たぬき"], ["化", "ば"], ["合", "あ"]], "word": "狐と狸の化かし合い"}, {"word": "豺狼路に当たれり"}, {"roman": "sairō michi ni atareri, izukunzo kori o towan", "word": "安んぞ狐狸を問わん"}, {"roman": "shika matsu tokoro no tanuki", "ruby": [["鹿", "しか"], ["待", "ま"], ["所", "ところ"], ["狸", "たぬき"]], "word": "鹿待つ所の狸"}], "descendants": [{"depth": 1, "templates": [{"name": "desc", "args": {"1": "en", "2": "tanuki", "3": "tanooki", "bor": "1"}, "expansion": "→ English: tanuki, tanooki"}], "text": "→ English: tanuki, tanooki"}], "sounds": [{"other": "たぬき"}, {"ipa": "[ta̠nɯ̟kʲi]"}], "etymology_number": 1, "etymology_text": "According to one theory, derived from 手貫 (tanuki, “arm glove, gauntlet”), which raccoon dog hide was sometimes used for.", "etymology_templates": [{"name": "lang", "args": {"1": "ja", "2": "狸"}, "expansion": "狸"}], "word": "狸", "lang": "Japanese", "lang_code": "ja", "derived": [{"roman": "tanuki ayame", "ruby": [["狸", "タヌキ"], ["菖蒲", "アヤメ"]], "word": "狸菖蒲", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-udon", "ruby": [["狸", "たぬき"], ["饂飩", "うどん"]], "word": "狸饂飩", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki oyaji", "ruby": [["狸", "たぬき"], ["親", "おや"], ["父", "じ"]], "word": "狸親父", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigao", "ruby": [["狸", "たぬき"], ["顔", "がお"]], "word": "狸顔", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigari", "ruby": [["狸", "たぬき"], ["狩", "が"]], "word": "狸狩り", "_dis1": "0 0 0 0 0"}, {"roman": "Tanuki Kōji", "ruby": [["狸", "たぬき"], ["小", "こう"], ["路", "じ"]], "word": "狸小路", "_dis1": "0 0 0 0 0"}, {"roman": "tanukijijī", "ruby": [["狸", "たぬき"], ["爺", "じじい"]], "word": "狸爺", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-jiru", "ruby": [["狸", "たぬき"], ["汁", "じる"]], "word": "狸汁", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-soba", "ruby": [["狸", "たぬき"], ["蕎", "そ"], ["麦", "ば"]], "word": "狸蕎麦", "_dis1": "0 0 0 0 0"}, {"roman": "tanukitsuki", "ruby": [["狸", "たぬき"], ["憑", "つ"]], "word": "狸憑き", "_dis1": "0 0 0 0 0"}, {"roman": "tanukine", "ruby": [["狸", "たぬき"], ["寝", "ね"]], "word": "狸寝", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki neiri", "ruby": [["狸", "たぬき"], ["寝入", "ねい"]], "word": "狸寝入り", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no chabukuro", "ruby": [["狸", "たぬき"], ["茶", "ちゃ"], ["袋", "ぶくろ"]], "word": "狸の茶袋", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibabā", "ruby": [["狸", "たぬき"], ["婆", "ばばあ"]], "word": "狸婆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibayashi", "ruby": [["狸", "たぬき"], ["囃", "ばや"], ["子", "し"]], "word": "狸囃子", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibue", "ruby": [["狸", "たぬき"], ["笛", "ぶえ"]], "word": "狸笛", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibori", "ruby": [["狸", "たぬき"], ["掘", "ぼ"]], "word": "狸掘り", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimame", "ruby": [["狸", "タヌキ"], ["豆", "マメ"]], "word": "狸豆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimo", "ruby": [["狸", "タヌキ"], ["藻", "モ"]], "word": "狸藻", "_dis1": "0 0 0 0 0"}, {"roman": "tanukiran", "ruby": [["狸", "タヌキ"], ["蘭", "ラン"]], "word": "狸蘭", "_dis1": "0 0 0 0 0"}, {"roman": "amezaiku no tanuki", "ruby": [["飴", "あめ"], ["細", "ざい"], ["工", "く"], ["狸", "たぬき"]], "word": "飴細工の狸", "_dis1": "0 0 0 0 0"}, {"roman": "Idanuki", "ruby": [["射", "い"], ["狸", "だぬき"]], "word": "射狸", "_dis1": "0 0 0 0 0"}, {"roman": "iwadanuki", "ruby": [["岩", "いわ"], ["狸", "だぬき"]], "word": "岩狸", "_dis1": "0 0 0 0 0"}, {"roman": "umidanuki", "ruby": [["海", "うみ"], ["狸", "だぬき"]], "word": "海狸", "_dis1": "0 0 0 0 0"}, {"roman": "omoshiro-danuki", "ruby": [["面", "おも"], ["白", "しろ"], ["狸", "だぬき"]], "word": "面白狸", "_dis1": "0 0 0 0 0"}, {"roman": "Kakushidanuki", "ruby": [["隠", "かくし"], ["狸", "だぬき"]], "word": "隠狸", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune to tanuki", "ruby": [["狐", "きつね"], ["狸", "たぬき"]], "word": "狐と狸", "_dis1": "0 0 0 0 0"}, {"roman": "hatsūma no tanuki", "ruby": [["初", "はつ"], ["午", "うま"], ["狸", "たぬき"]], "word": "初午の狸", "_dis1": "0 0 0 0 0"}, {"roman": "furudanuki", "ruby": [["古", "ふる"], ["狸", "だぬき"]], "word": "古狸", "_dis1": "0 0 0 0 0"}, {"roman": "hondo tanuki", "ruby": [["本", "ホン"], ["土", "ド"], ["狸", "タヌキ"]], "word": "本土狸", "_dis1": "0 0 0 0 0"}, {"roman": "mamedanuki", "ruby": [["豆", "まめ"], ["狸", "だぬき"]], "word": "豆狸", "_dis1": "0 0 0 0 0"}, {"roman": "midanuki", "ruby": [["貒", "み"], ["狸", "だぬき"]], "word": "貒狸", "_dis1": "0 0 0 0 0"}], "related": [{"roman": "tanuki no kintama hachijōjiki", "ruby": [["狸", "たぬき"], ["睾", "きん"], ["丸", "たま"], ["八", "はち"], ["畳", "じょう"], ["敷", "じき"]], "word": "狸の睾丸八畳敷", "_dis1": "0 0 0 0 0"}, {"roman": "onaji ana no tanuki", "ruby": [["同", "おな"], ["穴", "あな"], ["狸", "たぬき"]], "word": "同じ穴の狸", "_dis1": "0 0 0 0 0"}, {"roman": "toranu tanuki no kawazan'yō", "ruby": [["取", "と"], ["狸", "たぬき"], ["皮", "かわ"], ["算", "ざん"], ["用", "よう"]], "word": "取らぬ狸の皮算用", "_dis1": "0 0 0 0 0"}, {"roman": "anaguma", "ruby": [["穴", "アナ"], ["熊", "グマ"]], "english": "badger", "word": "穴熊", "_dis1": "0 0 0 0 0"}, {"roman": "araiguma", "ruby": [["洗", "アライ"], ["熊", "グマ"]], "english": "raccoon", "word": "洗熊", "_dis1": "0 0 0 0 0"}, {"roman": "inu", "ruby": [["犬", "イヌ"]], "english": "dog", "word": "犬", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune", "ruby": [["狐", "キツネ"]], "english": "fox", "word": "狐", "_dis1": "0 0 0 0 0"}, {"roman": "neko", "ruby": [["猫", "ネコ"]], "english": "cat", "word": "猫", "_dis1": "0 0 0 0 0"}], "senses": [{"examples": [{"text": "アライグマなら尻尾にシマがある。どう見でもタヌキだ。", "ref": "2020 March 21, Kazuki Nakashima, “Rabbit Town”, in BNA ビー・エヌ・エー [BNA], episode 2, spoken by Shirou Ogami (Yoshimasa Hosoya), Toho/Netflix", "english": "If you're a raccoon, you'd have stripes on your tail. No matter how you look at it, you're a raccoon dog.", "roman": "Araiguma nara shippo ni shima ga aru. Dō mi demo tanuki da.", "ruby": [["尻", "しっ"], ["尾", "ぽ"], ["見", "み"]]}], "links": [["raccoon dog", "raccoon dog"], ["Nyctereutes procyonoides", "Nyctereutes procyonoides#Translingual"]], "synonyms": [{"word": "マミ"}, {"word": "狢"}], "glosses": ["a raccoon dog, Nyctereutes procyonoides"], "id": "en-狸-ja-noun-HN8Mzyln", "categories": []}, {"examples": [{"text": "やいやい、其処な狸め", "ref": "1717, Kokusen'ya gonichi gassen (jōruri), volume 3", "english": "Hey there, you sly dog!", "roman": "yai yai, soko na tanuki me", "ruby": [["其処", "そこ"], ["狸", "たぬき"]]}], "links": [["person", "person"], ["pretend", "pretend"], ["good", "good"], ["cunning", "cunning"], ["English", "w:English language"], ["sly fox", "sly fox#English"]], "raw_glosses": ["(figurative) a person who pretends to be good but in fact is cunning (compare English sly fox)"], "glosses": ["a person who pretends to be good but in fact is cunning (compare English sly fox)"], "tags": ["figuratively"], "id": "en-狸-ja-noun-wc3eBztC", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 14 14 0 6 7 14"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 15 14 1 6 7 14"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "0 11 6 19 13 13 12 0 6 8 13"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "9 29 21 21 20"}]}, {"links": [["狸饂飩", "狸饂飩#Japanese"], ["udon", "udon"], ["狸蕎麦", "狸蕎麦#Japanese"], ["soba", "soba"], ["style", "style"], ["noodle", "noodle"], ["dish", "dish"]], "glosses": ["Short for 狸饂飩 (tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"], "tags": ["abbreviation", "alt-of"], "alt_of": [{"word": "狸饂飩", "extra": "(tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"}], "id": "en-狸-ja-noun-Xp5gov3f", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"examples": [{"text": "狸を決め込む ― tanuki o kimekomu ― pretend to be a raccoon dog → feign sleep", "ruby": [["狸", "たぬき"], ["決", "き"], ["込", "こ"]]}], "links": [["狸寝入り", "狸寝入り#Japanese"], ["asleep", "asleep"]], "raw_glosses": ["(rare) Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "glosses": ["Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "tags": ["abbreviation", "alt-of", "rare"], "alt_of": [{"word": "狸寝入り", "extra": "(tanuki neiri): pretending to be asleep"}], "id": "en-狸-ja-noun-stLV1Ixr", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"links": [["狸汁", "狸汁#Japanese"], ["soup", "soup"], ["meat", "meat"], ["daikon", "daikon"], ["burdock", "burdock"], ["root", "root"]], "raw_glosses": ["(rare, obsolete) Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "glosses": ["Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "tags": ["abbreviation", "alt-of", "obsolete", "rare"], "alt_of": [{"word": "狸汁", "extra": "(tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc"}], "id": "en-狸-ja-noun-q8SdP3Op", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}]} +{"pos": "verb", "head_templates": [{"name": "ja-verb", "args": {"tr": "intrans", "type": "1", "1": "はしる"}, "expansion": "走(はし)る • (hashiru) intransitive godan (stem 走(はし)り (hashiri), past 走(はし)った (hashitta))"}], "forms": [{"form": "走る", "ruby": [["走", "はし"]], "tags": ["canonical"]}, {"form": "hashiru", "tags": ["romanization"]}, {"form": "走り", "roman": "hashiri", "ruby": [["走", "はし"]], "tags": ["stem"]}, {"form": "走った", "roman": "hashitta", "ruby": [["走", "はし"]], "tags": ["past"]}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-go-ru", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashira", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走り", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしり", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiri", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走る", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしる", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiru", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走れ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしれ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashire", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走られる", "tags": ["passive"], "source": "conjugation"}, {"form": "はしられる", "tags": ["passive"], "source": "conjugation"}, {"form": "hashirareru", "tags": ["passive"], "source": "conjugation"}, {"form": "走らせる", "tags": ["causative"], "source": "conjugation"}, {"form": "走らす", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらせる", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらす", "tags": ["causative"], "source": "conjugation"}, {"form": "hashiraseru", "tags": ["causative"], "source": "conjugation"}, {"form": "hashirasu", "tags": ["causative"], "source": "conjugation"}, {"form": "走れる", "tags": ["potential"], "source": "conjugation"}, {"form": "はしれる", "tags": ["potential"], "source": "conjugation"}, {"form": "hashireru", "tags": ["potential"], "source": "conjugation"}, {"form": "走ろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "hashirō", "tags": ["volitional"], "source": "conjugation"}, {"form": "走らない", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらない", "tags": ["negative"], "source": "conjugation"}, {"form": "hashiranai", "tags": ["negative"], "source": "conjugation"}, {"form": "走らず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "hashirazu", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "走ります", "tags": ["formal"], "source": "conjugation"}, {"form": "はしります", "tags": ["formal"], "source": "conjugation"}, {"form": "hashirimasu", "tags": ["formal"], "source": "conjugation"}, {"form": "走った", "tags": ["perfective"], "source": "conjugation"}, {"form": "はしった", "tags": ["perfective"], "source": "conjugation"}, {"form": "hashitta", "tags": ["perfective"], "source": "conjugation"}, {"form": "走って", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "はしって", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "hashitte", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "走れば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "はしれば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "hashireba", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-conj-bungo", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "はしら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "fasira", "tags": ["irrealis"], "source": "conjugation"}, {"form": "走り", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "はしり", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "fasiri", "tags": ["continuative"], "source": "conjugation"}, {"form": "走る", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "はしる", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "fasiru", "tags": ["terminative"], "source": "conjugation"}, {"form": "走る", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "はしる", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "fasiru", "tags": ["attributive"], "source": "conjugation"}, {"form": "走れ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["realis"], "source": "conjugation"}, {"form": "走れ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["imperative"], "source": "conjugation"}, {"form": "走らず", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["negative"], "source": "conjugation"}, {"form": "fasirazu", "tags": ["negative"], "source": "conjugation"}, {"form": "走れど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "はしれど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "fasiredo", "tags": ["contrastive"], "source": "conjugation"}, {"form": "走れば", "tags": ["causative"], "source": "conjugation"}, {"form": "はしれば", "tags": ["causative"], "source": "conjugation"}, {"form": "fasireba", "tags": ["causative"], "source": "conjugation"}, {"form": "走らば", "tags": ["conditional"], "source": "conjugation"}, {"form": "はしらば", "tags": ["conditional"], "source": "conjugation"}, {"form": "fasiraba", "tags": ["conditional"], "source": "conjugation"}, {"form": "走りき", "tags": ["past"], "source": "conjugation"}, {"form": "はしりき", "tags": ["past"], "source": "conjugation"}, {"form": "fasiriki", "tags": ["past"], "source": "conjugation"}, {"form": "走りけり", "tags": ["past"], "source": "conjugation"}, {"form": "はしりけり", "tags": ["past"], "source": "conjugation"}, {"form": "fasirikeri", "tags": ["past"], "source": "conjugation"}, {"form": "走りつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasiritu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走りぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasirinu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走れり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走りたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしれり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしりたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasireri", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasiritari", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走らむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしらむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "fasiramu", "tags": ["volitional"], "source": "conjugation"}], "inflection_templates": [{"name": "ja-conj-bungo", "args": {"1": "はし", "2": "4-r"}}], "word": "走る", "lang": "Japanese", "lang_code": "ja", "sounds": [{"other": "はしる"}, {"ipa": "[ha̠ɕiɾɯ̟]"}, {"audio": "LL-Q5287_(jpn)-Higa4-走る.wav", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.mp3"}], "derived": [{"roman": "hashiri", "ruby": [["走", "はし"]], "word": "走り", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}, {"roman": "tsuppashiru", "ruby": [["突", "つ"], ["走", "ぱし"]], "word": "突っ走る", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}], "senses": [{"examples": [{"text": "車が走っている。", "english": "A car is running. / Cars are running.", "roman": "Kuruma ga hashitteiru.", "ruby": [["車", "くるま"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["move", "move"], ["machine", "machine"], ["operate", "operate"], ["function", "function"], ["high", "high"], ["speed", "speed"], ["vehicle", "vehicle"]], "synonyms": [{"word": "駆ける"}, {"word": "運行"}], "glosses": ["to run (move fast on foot)", "to move forward; (of a machine) to operate, function; (of objects) to move at a high speed (of a vehicle)"], "id": "en-走る-ja-verb-FwD7Wxep", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "石の上を水が走る。", "english": "The water runs over the stones.", "roman": "Ishi no ue o mizu ga hashiru.", "ruby": [["石", "いし"], ["上", "うえ"], ["水", "みず"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["flow", "flow"], ["vigorously", "vigorously"], ["liquid", "liquid"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)", "to flow vigorously (of liquid)"], "id": "en-走る-ja-verb-M0sN3Ib1", "categories": []}, {"examples": [{"text": "マラソン選手が走り出した。", "english": "Marathon athlete(s) started running.", "roman": "Marason senshu ga hashiridashita.", "ruby": [["選", "せん"], ["手", "しゅ"], ["走", "はし"], ["出", "だ"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)"], "id": "en-走る-ja-verb-4GjEtjTX", "categories": []}, {"examples": [{"text": "彼はこの道をよく走る。", "english": "He often runs down this street.", "roman": "Kare wa kono michi o yoku hashiru.", "ruby": [["彼", "かれ"], ["道", "みち"], ["走", "はし"]]}], "raw_glosses": ["(transitive) to run through some kind of place"], "glosses": ["to run through some kind of place"], "tags": ["transitive"], "id": "en-走る-ja-verb-xNCenb0Z", "categories": []}, {"examples": [{"text": "刀が鞘から走る。", "english": "The sword slides out of its sheath.", "roman": "Katana ga saya kara hashiru.", "ruby": [["刀", "かたな"], ["鞘", "さや"], ["走", "はし"]]}], "links": [["move", "move"], ["smoothly", "smoothly"], ["slide", "slide"]], "glosses": ["to move smoothly; to slide"], "id": "en-走る-ja-verb-PzA3rU~v", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["run away", "run away"], ["escape", "escape"]], "synonyms": [{"word": "逃亡"}, {"word": "出奔"}], "glosses": ["to run away, escape"], "id": "en-走る-ja-verb-Z~dL4k-t", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"links": [["rush", "rush"], ["hurry", "hurry"]], "synonyms": [{"word": "駆け付ける"}], "glosses": ["to rush, hurry around"], "id": "en-走る-ja-verb-4OvdKqHk"}, {"examples": [{"text": "彼は敵に走った。", "english": "He defected to the enemy.", "roman": "Kare wa teki ni hashitta.", "ruby": [["彼", "かれ"], ["敵", "てき"], ["走", "はし"]]}, {"text": "立場を忘れて感情に走ってはいけない。", "english": "Don't forget your stance and give in to emotions.", "roman": "Tachiba o wasurete kanjō ni hashitte wa ikenai.", "ruby": [["立", "たち"], ["場", "ば"], ["忘", "わす"], ["感", "かん"], ["情", "じょう"], ["走", "はし"]]}], "links": [["give over", "give over"], ["commit", "commit"]], "glosses": ["to give over oneself to; to commit oneself to (usually something bad)"], "id": "en-走る-ja-verb-5ePHopgO", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "4 2 2 2 17 4 4 22 8 5 2 16 2 11"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["spread out", "spread out"], ["scatter", "scatter"], ["splatter", "splatter"], ["spout", "spout"]], "synonyms": [{"word": "飛び散る"}, {"word": "ほとばしる"}], "glosses": ["to spread out, scatter, splatter, spout"], "id": "en-走る-ja-verb-6FArFH4U", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "山脈が南北に走る。\nSanmyaku ga nanboku ni hashiru.\nThe mountain range runs north–south.", "ruby": [["山", "さん"], ["脈", "みゃく"], ["南", "なん"], ["北", "ぼく"], ["走", "はし"]]}], "links": [["lead", "lead"], ["extend", "extend"], ["direction", "direction"]], "glosses": ["to lead or extend in a certain direction"], "id": "en-走る-ja-verb-ywcGBl7h", "categories": []}, {"examples": [{"text": "稲妻が走る", "english": "lightning flashes by", "roman": "inazuma ga hashiru", "ruby": [["稲", "いな"], ["妻", "ずま"], ["走", "はし"]]}, {"text": "背中に痛みが走った。", "english": "I felt a brief pain in my back.", "roman": "Senaka ni itami ga hashitta.", "ruby": [["背", "せ"], ["中", "なか"], ["痛", "いた"], ["走", "はし"]]}], "links": [["appear", "appear"], ["briefly", "briefly"], ["flash", "flash"]], "glosses": ["to appear briefly; to flash"], "id": "en-走る-ja-verb-RHgqK8jH", "categories": []}, {"links": [["胸(むね)", "胸#Japanese"], ["palpitation", "palpitation"], ["sense", "sense"], ["unease", "unease"]], "raw_glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease"], "glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease", "to feel palpitations; to have a sense of unease"], "raw_tags": ["used with 胸(むね)が (mune ga)"], "id": "en-走る-ja-verb-c~GMjQrW", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["crack", "crack"]], "synonyms": [{"word": "割れる"}], "raw_glosses": ["(euphemistic) to crack"], "glosses": ["to crack"], "tags": ["euphemistic"], "id": "en-走る-ja-verb-79igwW7M", "categories": [{"name": "Japanese euphemisms", "kind": "other", "parents": [], "source": "w"}]}, {"links": [["music", "music"], ["ハシる", "ハシる#Japanese"]], "raw_glosses": ["(music) Alternative spelling of ハシる"], "topics": ["entertainment", "lifestyle", "music"], "glosses": ["Alternative spelling of ハシる"], "tags": ["alt-of", "alternative"], "alt_of": [{"word": "ハシる"}], "id": "en-走る-ja-verb--201E1Ga", "categories": [{"name": "Music", "kind": "topical", "parents": ["Art", "Sound", "Culture", "Energy", "Society", "Nature", "All topics", "Fundamental"], "source": "w", "orig": "ja:Music", "langcode": "ja"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}]}]} diff --git a/data/test/tidy/ja-en-forms-0.json b/data/test/tidy/ja-en-forms-0.json new file mode 100644 index 0000000..e3ece00 --- /dev/null +++ b/data/test/tidy/ja-en-forms-0.json @@ -0,0 +1,2746 @@ +{ + "_type": "map", + "map": [ + [ + "楽しい", + { + "_type": "map", + "map": [ + [ + "tanoshii", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "attributive", + "romanization", + "terminative" + ] + ] + ] + } + ], + [ + "楽しく", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial", + "continuative stem" + ] + ] + ] + } + ], + [ + "楽しかろ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective stem" + ] + ] + ] + } + ], + [ + "たのしかろ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective stem" + ] + ] + ] + } + ], + [ + "tanoshikaro", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective" + ] + ] + ] + } + ], + [ + "たのしく", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial", + "continuative stem" + ] + ] + ] + } + ], + [ + "tanoshiku", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial", + "continuative" + ] + ] + ] + } + ], + [ + "たのしい", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "attributive stem", + "stem terminative" + ] + ] + ] + } + ], + [ + "楽しけれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical stem" + ] + ] + ] + } + ], + [ + "たのしけれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical stem" + ] + ] + ] + } + ], + [ + "tanoshikere", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical" + ] + ] + ] + } + ], + [ + "楽しかれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative stem" + ] + ] + ] + } + ], + [ + "たのしかれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative stem" + ] + ] + ] + } + ], + [ + "tanoshikare", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative" + ] + ] + ] + } + ], + [ + "楽しくない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "たのしくない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "tanoshiku nai", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "楽しかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "たのしかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "tanoshikatta", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "楽しくなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "たのしくなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "tanoshiku nakatta", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "楽しいです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "たのしいです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "tanoshii desu", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "楽しくないです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "たのしくないです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "tanoshiku nai desu", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "楽しかったです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "たのしかったです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "tanoshikatta desu", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "楽しくなかったです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "たのしくなかったです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "tanoshiku nakatta desu", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "楽しくて", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "たのしくて", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "tanoshikute", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "楽しければ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "たのしければ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "tanoshikereba", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "楽しかったら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "たのしかったら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "tanoshikattara", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "楽しかろう", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "たのしかろう", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "tanoshikarō", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "楽しさ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ], + [ + "たのしさ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ], + [ + "tanoshisa", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ] + ] + } + ], + [ + "好き", + { + "_type": "map", + "map": [ + [ + "suki", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "romanization" + ] + ] + ] + } + ], + [ + "好きな", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adnominal", + "attributive stem" + ] + ] + ] + } + ], + [ + "好きに", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial" + ] + ] + ] + } + ], + [ + "好きだろ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective stem" + ] + ] + ] + } + ], + [ + "すきだろ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective stem" + ] + ] + ] + } + ], + [ + "suki daro", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperfective" + ] + ] + ] + } + ], + [ + "好きで", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive", + "continuative stem" + ] + ] + ] + } + ], + [ + "すきで", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive", + "continuative stem" + ] + ] + ] + } + ], + [ + "suki de", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conjunctive", + "continuative" + ] + ] + ] + } + ], + [ + "好きだ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "stem terminative" + ] + ] + ] + } + ], + [ + "すきだ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "stem terminative" + ] + ] + ] + } + ], + [ + "suki da", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "terminative" + ] + ] + ] + } + ], + [ + "すきな", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "attributive stem" + ] + ] + ] + } + ], + [ + "suki na", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "attributive" + ] + ] + ] + } + ], + [ + "好きなら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical stem" + ] + ] + ] + } + ], + [ + "すきなら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical stem" + ] + ] + ] + } + ], + [ + "suki nara", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "hypothetical" + ] + ] + ] + } + ], + [ + "好きであれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative stem" + ] + ] + ] + } + ], + [ + "すきであれ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative stem" + ] + ] + ] + } + ], + [ + "suki de are", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "imperative" + ] + ] + ] + } + ], + [ + "好きではない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "好きじゃない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "すきではない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "すきじゃない", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "suki de wa nai", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "suki ja nai", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal negative" + ] + ] + ] + } + ], + [ + "好きだった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "すきだった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "suki datta", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past" + ] + ] + ] + } + ], + [ + "好きではなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "好きじゃなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "すきではなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "すきじゃなかった", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "suki de wa nakatta", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "suki ja nakatta", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "informal past negative" + ] + ] + ] + } + ], + [ + "好きです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "すきです", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "suki desu", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal" + ] + ] + ] + } + ], + [ + "好きではありません", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "好きじゃありません", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "すきではありません", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "すきじゃありません", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "suki de wa arimasen", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "suki ja arimasen", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal negative" + ] + ] + ] + } + ], + [ + "好きでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "すきでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "suki deshita", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past" + ] + ] + ] + } + ], + [ + "好きではありませんでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "好きじゃありませんでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "すきではありませんでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "すきじゃありませんでした", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "suki de wa arimasen deshita", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "suki ja arimasen deshita", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "formal past negative" + ] + ] + ] + } + ], + [ + "好きなら(ば)", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "すきなら(ば)", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "suki nara (ba)", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "conditional" + ] + ] + ] + } + ], + [ + "好きだったら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "すきだったら", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "suki dattara", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "past conditional" + ] + ] + ] + } + ], + [ + "好きだろう", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "すきだろう", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "suki darō", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "volitional" + ] + ] + ] + } + ], + [ + "すきに", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial" + ] + ] + ] + } + ], + [ + "suki ni", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "adverbial" + ] + ] + ] + } + ], + [ + "好きさ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ], + [ + "すきさ", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ], + [ + "sukisa", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "noun-from-adj" + ] + ] + ] + } + ] + ] + } + ], + [ + "狸", + { + "_type": "map", + "map": [ + [ + "tanuki", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "romanization" + ] + ] + ] + } + ] + ] + } + ], + [ + "走る", + { + "_type": "map", + "map": [ + [ + "hashiru", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "romanization" + ] + ] + ] + } + ], + [ + "走り", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "stem", + "continuative stem" + ] + ] + ] + } + ], + [ + "走った", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past", + "perfective" + ] + ] + ] + } + ], + [ + "走られる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "passive" + ] + ] + ] + } + ], + [ + "はしられる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "passive" + ] + ] + ] + } + ], + [ + "hashirareru", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "passive" + ] + ] + ] + } + ], + [ + "走らせる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "走らす", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "はしらせる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "はしらす", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "hashiraseru", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "hashirasu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "走れる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "potential" + ] + ] + ] + } + ], + [ + "はしれる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "potential" + ] + ] + ] + } + ], + [ + "hashireru", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "potential" + ] + ] + ] + } + ], + [ + "走ろう", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ], + [ + "はしろう", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ], + [ + "hashirō", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ], + [ + "走らない", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative" + ] + ] + ] + } + ], + [ + "はしらない", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative" + ] + ] + ] + } + ], + [ + "hashiranai", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative" + ] + ] + ] + } + ], + [ + "走らず", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative", + "negative continuative" + ] + ] + ] + } + ], + [ + "はしらず", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative", + "negative continuative" + ] + ] + ] + } + ], + [ + "hashirazu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative continuative" + ] + ] + ] + } + ], + [ + "走ります", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "formal" + ] + ] + ] + } + ], + [ + "はしります", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "formal" + ] + ] + ] + } + ], + [ + "hashirimasu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "formal" + ] + ] + ] + } + ], + [ + "はしった", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfective" + ] + ] + ] + } + ], + [ + "hashitta", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfective" + ] + ] + ] + } + ], + [ + "走って", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "はしって", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "hashitte", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conjunctive" + ] + ] + ] + } + ], + [ + "走れば", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative", + "conditional hypothetical" + ] + ] + ] + } + ], + [ + "はしれば", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative", + "conditional hypothetical" + ] + ] + ] + } + ], + [ + "hashireba", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conditional hypothetical" + ] + ] + ] + } + ], + [ + "走ら", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "irrealis stem" + ] + ] + ] + } + ], + [ + "はしら", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "irrealis stem" + ] + ] + ] + } + ], + [ + "fasira", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "irrealis" + ] + ] + ] + } + ], + [ + "はしり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "continuative stem" + ] + ] + ] + } + ], + [ + "fasiri", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "continuative" + ] + ] + ] + } + ], + [ + "はしる", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "attributive stem", + "stem terminative" + ] + ] + ] + } + ], + [ + "fasiru", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "attributive", + "terminative" + ] + ] + ] + } + ], + [ + "走れ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "imperative stem", + "realis stem" + ] + ] + ] + } + ], + [ + "はしれ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "imperative stem", + "realis stem" + ] + ] + ] + } + ], + [ + "fasire", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "imperative", + "realis" + ] + ] + ] + } + ], + [ + "fasirazu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "negative" + ] + ] + ] + } + ], + [ + "走れど", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "contrastive" + ] + ] + ] + } + ], + [ + "はしれど", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "contrastive" + ] + ] + ] + } + ], + [ + "fasiredo", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "contrastive" + ] + ] + ] + } + ], + [ + "fasireba", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "causative" + ] + ] + ] + } + ], + [ + "走らば", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conditional" + ] + ] + ] + } + ], + [ + "はしらば", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conditional" + ] + ] + ] + } + ], + [ + "fasiraba", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "conditional" + ] + ] + ] + } + ], + [ + "走りき", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "はしりき", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "fasiriki", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "走りけり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "はしりけり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "fasirikeri", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "past" + ] + ] + ] + } + ], + [ + "走りつ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "はしりつ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "fasiritu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "走りぬ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "はしりぬ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "fasirinu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect" + ] + ] + ] + } + ], + [ + "走れり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "走りたり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "はしれり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "はしりたり", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "fasireri", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "fasiritari", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "perfect continuative" + ] + ] + ] + } + ], + [ + "走らむ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ], + [ + "はしらむ", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ], + [ + "fasiramu", + { + "_type": "map", + "map": [ + [ + "verb", + [ + "volitional" + ] + ] + ] + } + ] + ] + } + ] + ] +} \ No newline at end of file diff --git a/data/test/tidy/ja-en-lemmas.json b/data/test/tidy/ja-en-lemmas.json new file mode 100644 index 0000000..2b367d7 --- /dev/null +++ b/data/test/tidy/ja-en-lemmas.json @@ -0,0 +1,257 @@ +{ + "楽しい": { + "たのしい": { + "adj": { + "ipa": [ + { + "ipa": "[ta̠no̞ɕiː]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "pleasant, delightful, fun, enjoyable" + ], + "tags": [] + } + ] + } + } + }, + "好き": { + "すき": { + "adj": { + "ipa": [ + { + "ipa": "[sɨ̥kʲi]", + "tags": [] + }, + { + "ipa": "/su.ki/", + "tags": [] + }, + { + "ipa": "[sɯᵝ˦.ki˨]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "liked, favorite" + ], + "tags": [] + } + ] + } + } + }, + "狸": { + "たぬき": { + "noun": { + "ipa": [ + { + "ipa": "[ta̠nɯ̟kʲi]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "a raccoon dog, Nyctereutes procyonoides" + ], + "tags": [] + }, + { + "glosses": [ + "(figurative) a person who pretends to be good but in fact is cunning (compare English sly fox)" + ], + "tags": [ + "figuratively" + ] + }, + { + "glosses": [ + "Short for 狸饂飩 (tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes" + ], + "tags": [ + "abbreviation", + "alt-of" + ] + }, + { + "glosses": [ + "(rare) Short for 狸寝入り (tanuki neiri): pretending to be asleep" + ], + "tags": [ + "abbreviation", + "alt-of", + "rare" + ] + }, + { + "glosses": [ + "(rare, obsolete) Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc." + ], + "tags": [ + "abbreviation", + "alt-of", + "obsolete", + "rare" + ] + } + ] + } + } + }, + "走る": { + "はしる": { + "verb": { + "ipa": [ + { + "ipa": "[ha̠ɕiɾɯ̟]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + { + "type": "structured-content", + "content": [ + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": "to run (move fast on foot)" + }, + { + "tag": "div", + "data": { + "listType": "ol" + }, + "style": { + "marginLeft": 2 + }, + "content": [ + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": [ + { + "tag": "span", + "data": { + "listType": "number" + }, + "content": "1. " + }, + "to move forward; (of a machine) to operate, function; (of objects) to move at a high speed (of a vehicle)" + ] + }, + { + "tag": "div", + "data": { + "listType": "li" + }, + "content": [ + { + "tag": "span", + "data": { + "listType": "number" + }, + "content": "2. " + }, + "to flow vigorously (of liquid)" + ] + } + ] + } + ] + } + ], + "tags": [] + }, + { + "glosses": [ + "(transitive) to run through some kind of place" + ], + "tags": [ + "transitive" + ] + }, + { + "glosses": [ + "to move smoothly; to slide" + ], + "tags": [] + }, + { + "glosses": [ + "to run away, escape" + ], + "tags": [] + }, + { + "glosses": [ + "to rush, hurry around" + ], + "tags": [] + }, + { + "glosses": [ + "to give over oneself to; to commit oneself to (usually something bad)" + ], + "tags": [] + }, + { + "glosses": [ + "to spread out, scatter, splatter, spout" + ], + "tags": [] + }, + { + "glosses": [ + "to lead or extend in a certain direction" + ], + "tags": [] + }, + { + "glosses": [ + "to appear briefly; to flash" + ], + "tags": [] + }, + { + "glosses": [ + "(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease" + ], + "tags": [ + "used with 胸(むね)が (mune ga)" + ] + }, + { + "glosses": [ + "(euphemistic) to crack" + ], + "tags": [ + "euphemistic" + ] + }, + { + "glosses": [ + "(music) Alternative spelling of ハシる" + ], + "tags": [ + "alt-of", + "alternative" + ] + } + ] + } + } + } +} \ No newline at end of file From 33521514cbd04294ad380cfdbd274d426409764a Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 18:27:10 +0200 Subject: [PATCH 3/7] multiple readings --- 3-tidy-up.js | 23 ++--- data/test/dict/ja/en/term_bank_1.json | 13 +++ data/test/dict/ja/en/term_bank_2.json | 104 ++++++++++++++++++++++ data/test/ipa/ja/en/term_meta_bank_1.json | 17 ++++ data/test/kaikki/ja-en.json | 1 + data/test/tidy/ja-en-forms-0.json | 92 +++++++++++++++++++ data/test/tidy/ja-en-lemmas.json | 30 +++++++ 7 files changed, 270 insertions(+), 10 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index 3b311df..166474a 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -214,10 +214,7 @@ function handleLine(line) { if (sensesWithoutInflectionGlosses.length === 0) return; - lemmaDict[word] ??= {}; - lemmaDict[word][reading] ??= {}; - lemmaDict[word][reading][pos] ??= {}; - lemmaDict[word][reading][pos].ipa ??= []; + ensureNestedObject(lemmaDict, [word, reading, pos]).ipa ??= []; for (const ipaObj of ipa) { if (!lemmaDict[word][reading][pos].ipa.some(obj => obj.ipa === ipaObj.ipa)) { @@ -225,7 +222,7 @@ function handleLine(line) { } } - lemmaDict[word][reading][pos].senses ??= []; + ensureNestedObject(lemmaDict, [word, reading, pos]).senses ??= []; const glossTree = new Map(); for (const sense of sensesWithoutInflectionGlosses) { @@ -305,6 +302,14 @@ function processGermanInflectionGlosses(glosses, word, pos) { } } +function ensureNestedObject(obj, keys) { + for (const key of keys) { + obj[key] ??= {}; + obj = obj[key]; + } + return obj; +} + function processEnglishInflectionGlosses(glosses, word, pos) { if(!glosses) return; glossPieces = glosses.flatMap(gloss => gloss.split('##').map(piece => piece.trim())); @@ -387,15 +392,13 @@ function getPersianReading(word, line){ function getJapaneseReading(word, line){ const {head_templates} = line; if(!head_templates) { - console.log('No head_templates found for Japanese word:', word); - return word; + return word; // among others, happens on kanji and alt forms } if(!Array.isArray(head_templates) || head_templates.length === 0) { - // console.log('head_templates is not an array or empty:', word, head_templates); - return word; + return word; // never happens } if (head_templates.length > 1) { - // console.log('Multiple head_templates found for Japanese word:', word, head_templates); + console.log('Multiple head_templates found for Japanese word:', word, head_templates); } for (const template of head_templates) { switch(template.name) { diff --git a/data/test/dict/ja/en/term_bank_1.json b/data/test/dict/ja/en/term_bank_1.json index 1d5c627..b35cc0d 100644 --- a/data/test/dict/ja/en/term_bank_1.json +++ b/data/test/dict/ja/en/term_bank_1.json @@ -192,5 +192,18 @@ ], 0, "" + ], + [ + "五色", + "ごしき", + "n", + "n", + 0, + [ + "five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))", + "melon, gourd" + ], + 0, + "" ] ] \ No newline at end of file diff --git a/data/test/dict/ja/en/term_bank_2.json b/data/test/dict/ja/en/term_bank_2.json index 4febd77..02edbaf 100644 --- a/data/test/dict/ja/en/term_bank_2.json +++ b/data/test/dict/ja/en/term_bank_2.json @@ -3504,5 +3504,109 @@ ], 0, "" + ], + [ + "goshiki", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "gosiki", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "ごしき", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "hiragana", + "historical" + ] + ] + ], + 0, + "" + ], + [ + "goshoku", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "gosyoku", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "romanization" + ] + ] + ], + 0, + "" + ], + [ + "ごしよく", + "", + "non-lemma", + "", + 0, + [ + [ + "五色", + [ + "hiragana", + "historical" + ] + ] + ], + 0, + "" ] ] \ No newline at end of file diff --git a/data/test/ipa/ja/en/term_meta_bank_1.json b/data/test/ipa/ja/en/term_meta_bank_1.json index 7cb623f..ecc0add 100644 --- a/data/test/ipa/ja/en/term_meta_bank_1.json +++ b/data/test/ipa/ja/en/term_meta_bank_1.json @@ -58,5 +58,22 @@ } ] } + ], + [ + "五色", + "ipa", + { + "reading": "ごしき", + "transcriptions": [ + { + "ipa": "[ɡo̞ɕikʲi]", + "tags": [] + }, + { + "ipa": "[ɡo̞ɕo̞kɯ̟]", + "tags": [] + } + ] + } ] ] \ No newline at end of file diff --git a/data/test/kaikki/ja-en.json b/data/test/kaikki/ja-en.json index f62a318..c268a22 100644 --- a/data/test/kaikki/ja-en.json +++ b/data/test/kaikki/ja-en.json @@ -2,3 +2,4 @@ {"pos": "adj", "head_templates": [{"name": "ja-adj", "args": {"infl": "na", "1": "すき"}, "expansion": "好(す)き • (suki) -na (adnominal 好(す)きな (suki na), adverbial 好(す)きに (suki ni))"}], "forms": [{"form": "好き", "ruby": [["好", "す"]], "tags": ["canonical"]}, {"form": "suki", "tags": ["romanization"]}, {"form": "好きな", "roman": "suki na", "ruby": [["好", "す"]], "tags": ["adnominal"]}, {"form": "好きに", "roman": "suki ni", "ruby": [["好", "す"]], "tags": ["adverbial"]}, {"form": "no-table-tags", "source": "inflection", "tags": ["table-tags"]}, {"form": "ja-na", "source": "inflection", "tags": ["inflection-template"]}, {"form": "好きだろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "すきだろ", "tags": ["imperfective", "stem"], "source": "inflection"}, {"form": "suki daro", "tags": ["imperfective"], "source": "inflection"}, {"form": "好きで", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "すきで", "tags": ["continuative", "stem"], "source": "inflection"}, {"form": "suki de", "tags": ["continuative"], "source": "inflection"}, {"form": "好きだ", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "すきだ", "tags": ["stem", "terminative"], "source": "inflection"}, {"form": "suki da", "tags": ["terminative"], "source": "inflection"}, {"form": "好きな", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "すきな", "tags": ["attributive", "stem"], "source": "inflection"}, {"form": "suki na", "tags": ["attributive"], "source": "inflection"}, {"form": "好きなら", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "すきなら", "tags": ["hypothetical", "stem"], "source": "inflection"}, {"form": "suki nara", "tags": ["hypothetical"], "source": "inflection"}, {"form": "好きであれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "すきであれ", "tags": ["imperative", "stem"], "source": "inflection"}, {"form": "suki de are", "tags": ["imperative"], "source": "inflection"}, {"form": "好きではない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "好きじゃない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "すきではない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "すきじゃない", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "suki de wa nai", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "suki ja nai", "tags": ["informal", "negative"], "source": "inflection"}, {"form": "好きだった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "すきだった", "tags": ["informal", "past"], "source": "inflection"}, {"form": "suki datta", "tags": ["informal", "past"], "source": "inflection"}, {"form": "好きではなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "好きじゃなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "すきではなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "すきじゃなかった", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "suki de wa nakatta", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "suki ja nakatta", "tags": ["informal", "negative", "past"], "source": "inflection"}, {"form": "好きです", "tags": ["formal"], "source": "inflection"}, {"form": "すきです", "tags": ["formal"], "source": "inflection"}, {"form": "suki desu", "tags": ["formal"], "source": "inflection"}, {"form": "好きではありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "好きじゃありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "すきではありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "すきじゃありません", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "suki de wa arimasen", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "suki ja arimasen", "tags": ["formal", "negative"], "source": "inflection"}, {"form": "好きでした", "tags": ["formal", "past"], "source": "inflection"}, {"form": "すきでした", "tags": ["formal", "past"], "source": "inflection"}, {"form": "suki deshita", "tags": ["formal", "past"], "source": "inflection"}, {"form": "好きではありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "好きじゃありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "すきではありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "すきじゃありませんでした", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "suki de wa arimasen deshita", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "suki ja arimasen deshita", "tags": ["formal", "negative", "past"], "source": "inflection"}, {"form": "好きで", "tags": ["conjunctive"], "source": "inflection"}, {"form": "すきで", "tags": ["conjunctive"], "source": "inflection"}, {"form": "suki de", "tags": ["conjunctive"], "source": "inflection"}, {"form": "好きなら(ば)", "tags": ["conditional"], "source": "inflection"}, {"form": "すきなら(ば)", "tags": ["conditional"], "source": "inflection"}, {"form": "suki nara (ba)", "tags": ["conditional"], "source": "inflection"}, {"form": "好きだったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "すきだったら", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "suki dattara", "tags": ["conditional", "past"], "source": "inflection"}, {"form": "好きだろう", "tags": ["volitional"], "source": "inflection"}, {"form": "すきだろう", "tags": ["volitional"], "source": "inflection"}, {"form": "suki darō", "tags": ["volitional"], "source": "inflection"}, {"form": "好きに", "tags": ["adverbial"], "source": "inflection"}, {"form": "すきに", "tags": ["adverbial"], "source": "inflection"}, {"form": "suki ni", "tags": ["adverbial"], "source": "inflection"}, {"form": "好きさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "すきさ", "tags": ["noun-from-adj"], "source": "inflection"}, {"form": "sukisa", "tags": ["noun-from-adj"], "source": "inflection"}], "inflection_templates": [{"name": "ja-adj-infl", "args": {"lemma": "好き", "kana": "すき", "imperfective": ". だろ", "continuative": ". で", "terminal": ". だ", "attributive": ". な", "hypothetical": ". なら", "imperative": ". で あれ", "informal_negative": ". で は ない", "informal_negative2": ". じゃ ない", "informal_past": ". だった", "informal_negative_past": ". で は なかった", "informal_negative_past2": ". じゃ なかった", "formal": ". です", "formal_negative": ". で は ありません", "formal_negative2": ". じゃ ありません", "formal_past": ". でした", "formal_negative_past": ". で は ありません でした", "formal_negative_past2": ". じゃ ありません でした", "conjunctive": ". で", "conditional": ". なら(ば)", "provisional": ". だったら", "volitional": ". だろう", "adverbial": ". に", "degree": "さ"}}], "sounds": [{"other": "すき"}, {"ipa": "[sɨ̥kʲi]"}, {"ipa": "/su.ki/"}, {"ipa": "[sɯᵝ˦.ki˨]"}], "etymology_number": 1, "wikipedia": ["Nihon Kokugo Daijiten", "Utsubo Monogatari", "ja:宇津保物語"], "etymology_text": "The 連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”) of the verb 好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”).\nFirst cited to the late 900s in the 宇津保物語 (Utsubo Monogatari).", "etymology_templates": [{"name": "ja-r", "args": {"1": "連%用%形", "2": "れん%よう%けい", "rom": "ren'yōkei", "3": "stem or continuative form"}, "expansion": "連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”)"}, {"name": "ja-r", "args": {"1": "好く", "2": "すく", "3": "to like, to be fond of, to enjoy, to feel love for", "pos": ""}, "expansion": "好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”)"}, {"name": "ja-etym-renyokei", "args": {"1": "好く", "2": "すく", "3": "to like, to be fond of, to enjoy, to feel love for"}, "expansion": "連(れん)用(よう)形(けい) (ren'yōkei, “stem or continuative form”) of the verb 好(す)く (suku, “to like, to be fond of, to enjoy, to feel love for”)."}], "word": "好き", "lang": "Japanese", "lang_code": "ja", "synonyms": [{"tags": ["slang"], "roman": "shuki", "word": "しゅき", "_dis1": "0 0 0"}, {"roman": "suko", "word": "すこ", "_dis1": "0 0 0"}], "senses": [{"examples": [{"text": "好きな食べ物は? アイスクリームです。", "english": "What's your favorite food? - It's ice cream.", "roman": "Suki na tabemono wa? Aisu kurīmu desu.", "ruby": [["好", "す"], ["食", "た"], ["物", "もの"]]}, {"text": "君が好きだからこそこれほど頑張っているんだよ。", "english": "It's precisely because I like you [because of my fondness for you] that I'm working this hard.", "roman": "Kimi ga suki da kara koso kore hodo ganbatte iru n da yo.", "ruby": [["君", "きみ"], ["好", "す"], ["頑", "がん"], ["張", "ば"]]}, {"text": "好きです。\nSuki desu.\n“I like you.” → idiomatically used to express: “I love you.”", "ruby": [["好", "す"]]}, {"text": "どうとも好きにしなさい。", "english": "Feel free to do as you like.", "roman": "Dō to mo suki ni shinasai.", "ruby": [["好", "す"]]}], "links": [["liked", "liked"], ["favorite", "favorite"]], "antonyms": [{"word": "嫌い"}], "glosses": ["liked, favorite"], "id": "en-好き-ja-adj-pMQ0Pij2", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "37 26 35 2"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "48 49 3"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "34 28 35 3"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "33 23 37 7"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "33 27 37 3"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "46 51 3"}]}]} {"pos": "noun", "head_templates": [{"name": "ja-noun", "args": {"1": "たぬき", "2": "タヌキ"}, "expansion": "狸(たぬき) or 狸(タヌキ) • (tanuki)"}], "forms": [{"form": "狸", "ruby": [["狸", "たぬき"]], "tags": ["canonical"]}, {"form": "狸", "ruby": [["狸", "タヌキ"]], "tags": ["canonical"]}, {"form": "tanuki", "tags": ["romanization"]}], "proverbs": [{"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台"}, {"roman": "tanuki no haratsuzumi", "ruby": [["狸", "たぬき"], ["腹", "はら"], ["鼓", "つづみ"]], "word": "狸の腹鼓"}, {"roman": "kitsune to tanuki no bakashi ai", "ruby": [["狐", "きつね"], ["狸", "たぬき"], ["化", "ば"], ["合", "あ"]], "word": "狐と狸の化かし合い"}, {"word": "豺狼路に当たれり"}, {"roman": "sairō michi ni atareri, izukunzo kori o towan", "word": "安んぞ狐狸を問わん"}, {"roman": "shika matsu tokoro no tanuki", "ruby": [["鹿", "しか"], ["待", "ま"], ["所", "ところ"], ["狸", "たぬき"]], "word": "鹿待つ所の狸"}], "descendants": [{"depth": 1, "templates": [{"name": "desc", "args": {"1": "en", "2": "tanuki", "3": "tanooki", "bor": "1"}, "expansion": "→ English: tanuki, tanooki"}], "text": "→ English: tanuki, tanooki"}], "sounds": [{"other": "たぬき"}, {"ipa": "[ta̠nɯ̟kʲi]"}], "etymology_number": 1, "etymology_text": "According to one theory, derived from 手貫 (tanuki, “arm glove, gauntlet”), which raccoon dog hide was sometimes used for.", "etymology_templates": [{"name": "lang", "args": {"1": "ja", "2": "狸"}, "expansion": "狸"}], "word": "狸", "lang": "Japanese", "lang_code": "ja", "derived": [{"roman": "tanuki ayame", "ruby": [["狸", "タヌキ"], ["菖蒲", "アヤメ"]], "word": "狸菖蒲", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-udon", "ruby": [["狸", "たぬき"], ["饂飩", "うどん"]], "word": "狸饂飩", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki oyaji", "ruby": [["狸", "たぬき"], ["親", "おや"], ["父", "じ"]], "word": "狸親父", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigao", "ruby": [["狸", "たぬき"], ["顔", "がお"]], "word": "狸顔", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigari", "ruby": [["狸", "たぬき"], ["狩", "が"]], "word": "狸狩り", "_dis1": "0 0 0 0 0"}, {"roman": "Tanuki Kōji", "ruby": [["狸", "たぬき"], ["小", "こう"], ["路", "じ"]], "word": "狸小路", "_dis1": "0 0 0 0 0"}, {"roman": "tanukijijī", "ruby": [["狸", "たぬき"], ["爺", "じじい"]], "word": "狸爺", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-jiru", "ruby": [["狸", "たぬき"], ["汁", "じる"]], "word": "狸汁", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-soba", "ruby": [["狸", "たぬき"], ["蕎", "そ"], ["麦", "ば"]], "word": "狸蕎麦", "_dis1": "0 0 0 0 0"}, {"roman": "tanukitsuki", "ruby": [["狸", "たぬき"], ["憑", "つ"]], "word": "狸憑き", "_dis1": "0 0 0 0 0"}, {"roman": "tanukine", "ruby": [["狸", "たぬき"], ["寝", "ね"]], "word": "狸寝", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki neiri", "ruby": [["狸", "たぬき"], ["寝入", "ねい"]], "word": "狸寝入り", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no chabukuro", "ruby": [["狸", "たぬき"], ["茶", "ちゃ"], ["袋", "ぶくろ"]], "word": "狸の茶袋", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibabā", "ruby": [["狸", "たぬき"], ["婆", "ばばあ"]], "word": "狸婆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibayashi", "ruby": [["狸", "たぬき"], ["囃", "ばや"], ["子", "し"]], "word": "狸囃子", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibue", "ruby": [["狸", "たぬき"], ["笛", "ぶえ"]], "word": "狸笛", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibori", "ruby": [["狸", "たぬき"], ["掘", "ぼ"]], "word": "狸掘り", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimame", "ruby": [["狸", "タヌキ"], ["豆", "マメ"]], "word": "狸豆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimo", "ruby": [["狸", "タヌキ"], ["藻", "モ"]], "word": "狸藻", "_dis1": "0 0 0 0 0"}, {"roman": "tanukiran", "ruby": [["狸", "タヌキ"], ["蘭", "ラン"]], "word": "狸蘭", "_dis1": "0 0 0 0 0"}, {"roman": "amezaiku no tanuki", "ruby": [["飴", "あめ"], ["細", "ざい"], ["工", "く"], ["狸", "たぬき"]], "word": "飴細工の狸", "_dis1": "0 0 0 0 0"}, {"roman": "Idanuki", "ruby": [["射", "い"], ["狸", "だぬき"]], "word": "射狸", "_dis1": "0 0 0 0 0"}, {"roman": "iwadanuki", "ruby": [["岩", "いわ"], ["狸", "だぬき"]], "word": "岩狸", "_dis1": "0 0 0 0 0"}, {"roman": "umidanuki", "ruby": [["海", "うみ"], ["狸", "だぬき"]], "word": "海狸", "_dis1": "0 0 0 0 0"}, {"roman": "omoshiro-danuki", "ruby": [["面", "おも"], ["白", "しろ"], ["狸", "だぬき"]], "word": "面白狸", "_dis1": "0 0 0 0 0"}, {"roman": "Kakushidanuki", "ruby": [["隠", "かくし"], ["狸", "だぬき"]], "word": "隠狸", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune to tanuki", "ruby": [["狐", "きつね"], ["狸", "たぬき"]], "word": "狐と狸", "_dis1": "0 0 0 0 0"}, {"roman": "hatsūma no tanuki", "ruby": [["初", "はつ"], ["午", "うま"], ["狸", "たぬき"]], "word": "初午の狸", "_dis1": "0 0 0 0 0"}, {"roman": "furudanuki", "ruby": [["古", "ふる"], ["狸", "だぬき"]], "word": "古狸", "_dis1": "0 0 0 0 0"}, {"roman": "hondo tanuki", "ruby": [["本", "ホン"], ["土", "ド"], ["狸", "タヌキ"]], "word": "本土狸", "_dis1": "0 0 0 0 0"}, {"roman": "mamedanuki", "ruby": [["豆", "まめ"], ["狸", "だぬき"]], "word": "豆狸", "_dis1": "0 0 0 0 0"}, {"roman": "midanuki", "ruby": [["貒", "み"], ["狸", "だぬき"]], "word": "貒狸", "_dis1": "0 0 0 0 0"}], "related": [{"roman": "tanuki no kintama hachijōjiki", "ruby": [["狸", "たぬき"], ["睾", "きん"], ["丸", "たま"], ["八", "はち"], ["畳", "じょう"], ["敷", "じき"]], "word": "狸の睾丸八畳敷", "_dis1": "0 0 0 0 0"}, {"roman": "onaji ana no tanuki", "ruby": [["同", "おな"], ["穴", "あな"], ["狸", "たぬき"]], "word": "同じ穴の狸", "_dis1": "0 0 0 0 0"}, {"roman": "toranu tanuki no kawazan'yō", "ruby": [["取", "と"], ["狸", "たぬき"], ["皮", "かわ"], ["算", "ざん"], ["用", "よう"]], "word": "取らぬ狸の皮算用", "_dis1": "0 0 0 0 0"}, {"roman": "anaguma", "ruby": [["穴", "アナ"], ["熊", "グマ"]], "english": "badger", "word": "穴熊", "_dis1": "0 0 0 0 0"}, {"roman": "araiguma", "ruby": [["洗", "アライ"], ["熊", "グマ"]], "english": "raccoon", "word": "洗熊", "_dis1": "0 0 0 0 0"}, {"roman": "inu", "ruby": [["犬", "イヌ"]], "english": "dog", "word": "犬", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune", "ruby": [["狐", "キツネ"]], "english": "fox", "word": "狐", "_dis1": "0 0 0 0 0"}, {"roman": "neko", "ruby": [["猫", "ネコ"]], "english": "cat", "word": "猫", "_dis1": "0 0 0 0 0"}], "senses": [{"examples": [{"text": "アライグマなら尻尾にシマがある。どう見でもタヌキだ。", "ref": "2020 March 21, Kazuki Nakashima, “Rabbit Town”, in BNA ビー・エヌ・エー [BNA], episode 2, spoken by Shirou Ogami (Yoshimasa Hosoya), Toho/Netflix", "english": "If you're a raccoon, you'd have stripes on your tail. No matter how you look at it, you're a raccoon dog.", "roman": "Araiguma nara shippo ni shima ga aru. Dō mi demo tanuki da.", "ruby": [["尻", "しっ"], ["尾", "ぽ"], ["見", "み"]]}], "links": [["raccoon dog", "raccoon dog"], ["Nyctereutes procyonoides", "Nyctereutes procyonoides#Translingual"]], "synonyms": [{"word": "マミ"}, {"word": "狢"}], "glosses": ["a raccoon dog, Nyctereutes procyonoides"], "id": "en-狸-ja-noun-HN8Mzyln", "categories": []}, {"examples": [{"text": "やいやい、其処な狸め", "ref": "1717, Kokusen'ya gonichi gassen (jōruri), volume 3", "english": "Hey there, you sly dog!", "roman": "yai yai, soko na tanuki me", "ruby": [["其処", "そこ"], ["狸", "たぬき"]]}], "links": [["person", "person"], ["pretend", "pretend"], ["good", "good"], ["cunning", "cunning"], ["English", "w:English language"], ["sly fox", "sly fox#English"]], "raw_glosses": ["(figurative) a person who pretends to be good but in fact is cunning (compare English sly fox)"], "glosses": ["a person who pretends to be good but in fact is cunning (compare English sly fox)"], "tags": ["figuratively"], "id": "en-狸-ja-noun-wc3eBztC", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 14 14 0 6 7 14"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 15 14 1 6 7 14"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "0 11 6 19 13 13 12 0 6 8 13"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "9 29 21 21 20"}]}, {"links": [["狸饂飩", "狸饂飩#Japanese"], ["udon", "udon"], ["狸蕎麦", "狸蕎麦#Japanese"], ["soba", "soba"], ["style", "style"], ["noodle", "noodle"], ["dish", "dish"]], "glosses": ["Short for 狸饂飩 (tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"], "tags": ["abbreviation", "alt-of"], "alt_of": [{"word": "狸饂飩", "extra": "(tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"}], "id": "en-狸-ja-noun-Xp5gov3f", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"examples": [{"text": "狸を決め込む ― tanuki o kimekomu ― pretend to be a raccoon dog → feign sleep", "ruby": [["狸", "たぬき"], ["決", "き"], ["込", "こ"]]}], "links": [["狸寝入り", "狸寝入り#Japanese"], ["asleep", "asleep"]], "raw_glosses": ["(rare) Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "glosses": ["Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "tags": ["abbreviation", "alt-of", "rare"], "alt_of": [{"word": "狸寝入り", "extra": "(tanuki neiri): pretending to be asleep"}], "id": "en-狸-ja-noun-stLV1Ixr", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"links": [["狸汁", "狸汁#Japanese"], ["soup", "soup"], ["meat", "meat"], ["daikon", "daikon"], ["burdock", "burdock"], ["root", "root"]], "raw_glosses": ["(rare, obsolete) Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "glosses": ["Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "tags": ["abbreviation", "alt-of", "obsolete", "rare"], "alt_of": [{"word": "狸汁", "extra": "(tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc"}], "id": "en-狸-ja-noun-q8SdP3Op", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}]} {"pos": "verb", "head_templates": [{"name": "ja-verb", "args": {"tr": "intrans", "type": "1", "1": "はしる"}, "expansion": "走(はし)る • (hashiru) intransitive godan (stem 走(はし)り (hashiri), past 走(はし)った (hashitta))"}], "forms": [{"form": "走る", "ruby": [["走", "はし"]], "tags": ["canonical"]}, {"form": "hashiru", "tags": ["romanization"]}, {"form": "走り", "roman": "hashiri", "ruby": [["走", "はし"]], "tags": ["stem"]}, {"form": "走った", "roman": "hashitta", "ruby": [["走", "はし"]], "tags": ["past"]}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-go-ru", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashira", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走り", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしり", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiri", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走る", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしる", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiru", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走れ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしれ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashire", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走られる", "tags": ["passive"], "source": "conjugation"}, {"form": "はしられる", "tags": ["passive"], "source": "conjugation"}, {"form": "hashirareru", "tags": ["passive"], "source": "conjugation"}, {"form": "走らせる", "tags": ["causative"], "source": "conjugation"}, {"form": "走らす", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらせる", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらす", "tags": ["causative"], "source": "conjugation"}, {"form": "hashiraseru", "tags": ["causative"], "source": "conjugation"}, {"form": "hashirasu", "tags": ["causative"], "source": "conjugation"}, {"form": "走れる", "tags": ["potential"], "source": "conjugation"}, {"form": "はしれる", "tags": ["potential"], "source": "conjugation"}, {"form": "hashireru", "tags": ["potential"], "source": "conjugation"}, {"form": "走ろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "hashirō", "tags": ["volitional"], "source": "conjugation"}, {"form": "走らない", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらない", "tags": ["negative"], "source": "conjugation"}, {"form": "hashiranai", "tags": ["negative"], "source": "conjugation"}, {"form": "走らず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "hashirazu", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "走ります", "tags": ["formal"], "source": "conjugation"}, {"form": "はしります", "tags": ["formal"], "source": "conjugation"}, {"form": "hashirimasu", "tags": ["formal"], "source": "conjugation"}, {"form": "走った", "tags": ["perfective"], "source": "conjugation"}, {"form": "はしった", "tags": ["perfective"], "source": "conjugation"}, {"form": "hashitta", "tags": ["perfective"], "source": "conjugation"}, {"form": "走って", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "はしって", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "hashitte", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "走れば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "はしれば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "hashireba", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-conj-bungo", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "はしら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "fasira", "tags": ["irrealis"], "source": "conjugation"}, {"form": "走り", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "はしり", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "fasiri", "tags": ["continuative"], "source": "conjugation"}, {"form": "走る", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "はしる", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "fasiru", "tags": ["terminative"], "source": "conjugation"}, {"form": "走る", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "はしる", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "fasiru", "tags": ["attributive"], "source": "conjugation"}, {"form": "走れ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["realis"], "source": "conjugation"}, {"form": "走れ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["imperative"], "source": "conjugation"}, {"form": "走らず", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["negative"], "source": "conjugation"}, {"form": "fasirazu", "tags": ["negative"], "source": "conjugation"}, {"form": "走れど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "はしれど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "fasiredo", "tags": ["contrastive"], "source": "conjugation"}, {"form": "走れば", "tags": ["causative"], "source": "conjugation"}, {"form": "はしれば", "tags": ["causative"], "source": "conjugation"}, {"form": "fasireba", "tags": ["causative"], "source": "conjugation"}, {"form": "走らば", "tags": ["conditional"], "source": "conjugation"}, {"form": "はしらば", "tags": ["conditional"], "source": "conjugation"}, {"form": "fasiraba", "tags": ["conditional"], "source": "conjugation"}, {"form": "走りき", "tags": ["past"], "source": "conjugation"}, {"form": "はしりき", "tags": ["past"], "source": "conjugation"}, {"form": "fasiriki", "tags": ["past"], "source": "conjugation"}, {"form": "走りけり", "tags": ["past"], "source": "conjugation"}, {"form": "はしりけり", "tags": ["past"], "source": "conjugation"}, {"form": "fasirikeri", "tags": ["past"], "source": "conjugation"}, {"form": "走りつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasiritu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走りぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasirinu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走れり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走りたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしれり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしりたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasireri", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasiritari", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走らむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしらむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "fasiramu", "tags": ["volitional"], "source": "conjugation"}], "inflection_templates": [{"name": "ja-conj-bungo", "args": {"1": "はし", "2": "4-r"}}], "word": "走る", "lang": "Japanese", "lang_code": "ja", "sounds": [{"other": "はしる"}, {"ipa": "[ha̠ɕiɾɯ̟]"}, {"audio": "LL-Q5287_(jpn)-Higa4-走る.wav", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.mp3"}], "derived": [{"roman": "hashiri", "ruby": [["走", "はし"]], "word": "走り", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}, {"roman": "tsuppashiru", "ruby": [["突", "つ"], ["走", "ぱし"]], "word": "突っ走る", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}], "senses": [{"examples": [{"text": "車が走っている。", "english": "A car is running. / Cars are running.", "roman": "Kuruma ga hashitteiru.", "ruby": [["車", "くるま"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["move", "move"], ["machine", "machine"], ["operate", "operate"], ["function", "function"], ["high", "high"], ["speed", "speed"], ["vehicle", "vehicle"]], "synonyms": [{"word": "駆ける"}, {"word": "運行"}], "glosses": ["to run (move fast on foot)", "to move forward; (of a machine) to operate, function; (of objects) to move at a high speed (of a vehicle)"], "id": "en-走る-ja-verb-FwD7Wxep", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "石の上を水が走る。", "english": "The water runs over the stones.", "roman": "Ishi no ue o mizu ga hashiru.", "ruby": [["石", "いし"], ["上", "うえ"], ["水", "みず"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["flow", "flow"], ["vigorously", "vigorously"], ["liquid", "liquid"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)", "to flow vigorously (of liquid)"], "id": "en-走る-ja-verb-M0sN3Ib1", "categories": []}, {"examples": [{"text": "マラソン選手が走り出した。", "english": "Marathon athlete(s) started running.", "roman": "Marason senshu ga hashiridashita.", "ruby": [["選", "せん"], ["手", "しゅ"], ["走", "はし"], ["出", "だ"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)"], "id": "en-走る-ja-verb-4GjEtjTX", "categories": []}, {"examples": [{"text": "彼はこの道をよく走る。", "english": "He often runs down this street.", "roman": "Kare wa kono michi o yoku hashiru.", "ruby": [["彼", "かれ"], ["道", "みち"], ["走", "はし"]]}], "raw_glosses": ["(transitive) to run through some kind of place"], "glosses": ["to run through some kind of place"], "tags": ["transitive"], "id": "en-走る-ja-verb-xNCenb0Z", "categories": []}, {"examples": [{"text": "刀が鞘から走る。", "english": "The sword slides out of its sheath.", "roman": "Katana ga saya kara hashiru.", "ruby": [["刀", "かたな"], ["鞘", "さや"], ["走", "はし"]]}], "links": [["move", "move"], ["smoothly", "smoothly"], ["slide", "slide"]], "glosses": ["to move smoothly; to slide"], "id": "en-走る-ja-verb-PzA3rU~v", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["run away", "run away"], ["escape", "escape"]], "synonyms": [{"word": "逃亡"}, {"word": "出奔"}], "glosses": ["to run away, escape"], "id": "en-走る-ja-verb-Z~dL4k-t", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"links": [["rush", "rush"], ["hurry", "hurry"]], "synonyms": [{"word": "駆け付ける"}], "glosses": ["to rush, hurry around"], "id": "en-走る-ja-verb-4OvdKqHk"}, {"examples": [{"text": "彼は敵に走った。", "english": "He defected to the enemy.", "roman": "Kare wa teki ni hashitta.", "ruby": [["彼", "かれ"], ["敵", "てき"], ["走", "はし"]]}, {"text": "立場を忘れて感情に走ってはいけない。", "english": "Don't forget your stance and give in to emotions.", "roman": "Tachiba o wasurete kanjō ni hashitte wa ikenai.", "ruby": [["立", "たち"], ["場", "ば"], ["忘", "わす"], ["感", "かん"], ["情", "じょう"], ["走", "はし"]]}], "links": [["give over", "give over"], ["commit", "commit"]], "glosses": ["to give over oneself to; to commit oneself to (usually something bad)"], "id": "en-走る-ja-verb-5ePHopgO", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "4 2 2 2 17 4 4 22 8 5 2 16 2 11"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["spread out", "spread out"], ["scatter", "scatter"], ["splatter", "splatter"], ["spout", "spout"]], "synonyms": [{"word": "飛び散る"}, {"word": "ほとばしる"}], "glosses": ["to spread out, scatter, splatter, spout"], "id": "en-走る-ja-verb-6FArFH4U", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "山脈が南北に走る。\nSanmyaku ga nanboku ni hashiru.\nThe mountain range runs north–south.", "ruby": [["山", "さん"], ["脈", "みゃく"], ["南", "なん"], ["北", "ぼく"], ["走", "はし"]]}], "links": [["lead", "lead"], ["extend", "extend"], ["direction", "direction"]], "glosses": ["to lead or extend in a certain direction"], "id": "en-走る-ja-verb-ywcGBl7h", "categories": []}, {"examples": [{"text": "稲妻が走る", "english": "lightning flashes by", "roman": "inazuma ga hashiru", "ruby": [["稲", "いな"], ["妻", "ずま"], ["走", "はし"]]}, {"text": "背中に痛みが走った。", "english": "I felt a brief pain in my back.", "roman": "Senaka ni itami ga hashitta.", "ruby": [["背", "せ"], ["中", "なか"], ["痛", "いた"], ["走", "はし"]]}], "links": [["appear", "appear"], ["briefly", "briefly"], ["flash", "flash"]], "glosses": ["to appear briefly; to flash"], "id": "en-走る-ja-verb-RHgqK8jH", "categories": []}, {"links": [["胸(むね)", "胸#Japanese"], ["palpitation", "palpitation"], ["sense", "sense"], ["unease", "unease"]], "raw_glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease"], "glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease", "to feel palpitations; to have a sense of unease"], "raw_tags": ["used with 胸(むね)が (mune ga)"], "id": "en-走る-ja-verb-c~GMjQrW", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["crack", "crack"]], "synonyms": [{"word": "割れる"}], "raw_glosses": ["(euphemistic) to crack"], "glosses": ["to crack"], "tags": ["euphemistic"], "id": "en-走る-ja-verb-79igwW7M", "categories": [{"name": "Japanese euphemisms", "kind": "other", "parents": [], "source": "w"}]}, {"links": [["music", "music"], ["ハシる", "ハシる#Japanese"]], "raw_glosses": ["(music) Alternative spelling of ハシる"], "topics": ["entertainment", "lifestyle", "music"], "glosses": ["Alternative spelling of ハシる"], "tags": ["alt-of", "alternative"], "alt_of": [{"word": "ハシる"}], "id": "en-走る-ja-verb--201E1Ga", "categories": [{"name": "Music", "kind": "topical", "parents": ["Art", "Sound", "Culture", "Energy", "Society", "Nature", "All topics", "Fundamental"], "source": "w", "orig": "ja:Music", "langcode": "ja"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}]}]} +{"pos": "noun", "head_templates": [{"name": "ja-noun", "args": {"1": "ごしき", "hhira": "ごしき"}, "expansion": "五(ご)色(しき) • (goshiki) ^(←ごしき (gosiki)?)"}, {"name": "ja-noun", "args": {"1": "ごしょく", "hhira": "ごしよく"}, "expansion": "五(ご)色(しょく) • (goshoku) ^(←ごしよく (gosyoku)?)"}], "forms": [{"form": "五色", "head_nr": 1, "ruby": [["五", "ご"], ["色", "しき"]], "tags": ["canonical"]}, {"form": "goshiki", "head_nr": 1, "tags": ["romanization"]}, {"form": "gosiki", "head_nr": 1, "tags": ["romanization"]}, {"form": "ごしき", "head_nr": 1, "roman": "gosiki", "tags": ["hiragana", "historical"]}, {"form": "五色", "head_nr": 2, "ruby": [["五", "ご"], ["色", "しょく"]], "tags": ["canonical"]}, {"form": "goshoku", "head_nr": 2, "tags": ["romanization"]}, {"form": "gosyoku", "head_nr": 2, "tags": ["romanization"]}, {"form": "ごしよく", "head_nr": 2, "roman": "gosyoku", "tags": ["hiragana", "historical"]}], "word": "五色", "lang": "Japanese", "lang_code": "ja", "wikipedia": ["ja:五色"], "sounds": [{"other": "ごしき"}, {"other": "ごしき"}, {"ipa": "[ɡo̞ɕikʲi]"}, {"other": "ごしょく"}, {"other": "ごしょく"}, {"ipa": "[ɡo̞ɕo̞kɯ̟]"}], "derived": [{"roman": "goshiki-age", "ruby": [["五", "ご"], ["色", "しき"], ["揚", "あ"]], "word": "五色揚げ", "_dis1": "0 0"}, {"roman": "goshiki-ebi", "ruby": [["五", "ご"], ["色", "しき"], ["海老", "えび"]], "word": "五色海老", "_dis1": "0 0"}, {"roman": "goshiki-gawa", "ruby": [["五", "ご"], ["色", "しき"], ["革", "がわ"]], "word": "五色革", "_dis1": "0 0"}, {"roman": "goshiki-sazae", "ruby": [["五", "ご"], ["色", "しき"], ["栄螺", "さざえ"]], "word": "五色栄螺", "_dis1": "0 0"}, {"roman": "goshiki sōmen", "ruby": [["五", "ご"], ["色", "しき"], ["素", "そう"], ["麺", "めん"]], "word": "五色素麺", "_dis1": "0 0"}, {"roman": "goshiki chazuke", "ruby": [["五", "ご"], ["色", "しき"], ["茶", "ちゃ"], ["漬", "づ"]], "word": "五色茶漬け", "_dis1": "0 0"}, {"roman": "goshiki-dori", "ruby": [["五", "ご"], ["色", "しき"], ["鳥", "どり"]], "word": "五色鳥", "_dis1": "0 0"}, {"roman": "goshiki-namasu", "ruby": [["五", "ご"], ["色", "しき"], ["膾", "なます"]], "word": "五色膾", "_dis1": "0 0"}, {"roman": "goshiki no ito", "ruby": [["五", "ご"], ["色", "しき"], ["糸", "いと"]], "word": "五色の糸", "_dis1": "0 0"}, {"ruby": [["五", "ご"], ["色", "しき"], ["酒", "さけ"]], "english": "goshiki no sake", "word": "五色の酒", "_dis1": "0 0"}, {"roman": "goshiki no sen", "ruby": [["五", "ご"], ["色", "しき"], ["賤", "せん"]], "word": "五色の賤", "_dis1": "0 0"}, {"roman": "goshiki no mizu", "ruby": [["五", "ご"], ["色", "しき"], ["水", "みず"]], "word": "五色の水", "_dis1": "0 0"}, {"roman": "goshiki-hiwa", "ruby": [["五", "ご"], ["色", "しき"], ["鶸", "ひわ"]], "word": "五色鶸", "_dis1": "0 0"}], "senses": [{"head_nr": 2, "links": [["five", "five"], ["colors", "colors"], ["red", "red"], ["赤", "赤#Japanese"], ["blue", "blue"], ["青", "青#Japanese"], ["yellow", "yellow"], ["黄", "黄#Japanese"], ["white", "white"], ["白", "白#Japanese"], ["black", "black"], ["黒", "黒#Japanese"]], "glosses": ["five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))"], "id": "en-五色-ja-noun-6ibvBfEv"}, {"head_nr": 2, "links": [["melon", "melon"], ["gourd", "gourd"]], "synonyms": [{"word": "瓜"}], "glosses": ["melon, gourd"], "id": "en-五色-ja-noun--bAzc9nu"}]} diff --git a/data/test/tidy/ja-en-forms-0.json b/data/test/tidy/ja-en-forms-0.json index e3ece00..39bcaca 100644 --- a/data/test/tidy/ja-en-forms-0.json +++ b/data/test/tidy/ja-en-forms-0.json @@ -2741,6 +2741,98 @@ ] ] } + ], + [ + "五色", + { + "_type": "map", + "map": [ + [ + "goshiki", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "romanization" + ] + ] + ] + } + ], + [ + "gosiki", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "romanization" + ] + ] + ] + } + ], + [ + "ごしき", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "hiragana historical" + ] + ] + ] + } + ], + [ + "goshoku", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "romanization" + ] + ] + ] + } + ], + [ + "gosyoku", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "romanization" + ] + ] + ] + } + ], + [ + "ごしよく", + { + "_type": "map", + "map": [ + [ + "noun", + [ + "hiragana historical" + ] + ] + ] + } + ] + ] + } ] ] } \ No newline at end of file diff --git a/data/test/tidy/ja-en-lemmas.json b/data/test/tidy/ja-en-lemmas.json index 2b367d7..b18203b 100644 --- a/data/test/tidy/ja-en-lemmas.json +++ b/data/test/tidy/ja-en-lemmas.json @@ -253,5 +253,35 @@ ] } } + }, + "五色": { + "ごしき": { + "noun": { + "ipa": [ + { + "ipa": "[ɡo̞ɕikʲi]", + "tags": [] + }, + { + "ipa": "[ɡo̞ɕo̞kɯ̟]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))" + ], + "tags": [] + }, + { + "glosses": [ + "melon, gourd" + ], + "tags": [] + } + ] + } + } } } \ No newline at end of file From 5327a461e21503d644fa7387bf079067b5891bb8 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 18:36:23 +0200 Subject: [PATCH 4/7] initialize --- 3-tidy-up.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index 166474a..7f513c7 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -214,16 +214,14 @@ function handleLine(line) { if (sensesWithoutInflectionGlosses.length === 0) return; - ensureNestedObject(lemmaDict, [word, reading, pos]).ipa ??= []; + const result = initializeWordResult(word, reading, pos); for (const ipaObj of ipa) { - if (!lemmaDict[word][reading][pos].ipa.some(obj => obj.ipa === ipaObj.ipa)) { - lemmaDict[word][reading][pos].ipa.push(ipaObj); + if (!result.ipa.some(obj => obj.ipa === ipaObj.ipa)) { + result.ipa.push(ipaObj); } } - ensureNestedObject(lemmaDict, [word, reading, pos]).senses ??= []; - const glossTree = new Map(); for (const sense of sensesWithoutInflectionGlosses) { const { glossesArray, tags } = sense; @@ -255,11 +253,18 @@ function handleLine(line) { } if (currSense.glosses.length > 0) { - lemmaDict[word][reading][pos].senses.push(currSense); + result.senses.push(currSense); } } } +function initializeWordResult(word, reading, pos) { + const result = ensureNestedObject(lemmaDict, [word, reading, pos]); + result.ipa ??= []; + result.senses ??= []; + return result; +} + function processInflectionGlosses(glosses, word, pos) { switch (targetIso) { case 'de': From 169526ea7b4aa6a8dd8ac8889d261755ef5ba6d2 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 18:45:31 +0200 Subject: [PATCH 5/7] handle multiple readings better --- 3-tidy-up.js | 59 +++++++++++++++-------- data/test/dict/ja/en/term_bank_1.json | 13 +++++ data/test/ipa/ja/en/term_meta_bank_1.json | 17 +++++++ data/test/tidy/ja-en-lemmas.json | 28 +++++++++++ 4 files changed, 97 insertions(+), 20 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index 7f513c7..5c886fd 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -141,7 +141,7 @@ function handleLine(line) { if(!pos) return; const word = getCanonicalForm(parsedLine); if (!word) return; - const reading = getReading(word, parsedLine); + const readings = getReadings(word, parsedLine); if (forms) { forms.forEach((formData) => { @@ -214,12 +214,10 @@ function handleLine(line) { if (sensesWithoutInflectionGlosses.length === 0) return; - const result = initializeWordResult(word, reading, pos); + initializeWordResult(word, readings, pos); for (const ipaObj of ipa) { - if (!result.ipa.some(obj => obj.ipa === ipaObj.ipa)) { - result.ipa.push(ipaObj); - } + saveIpaResult(word, readings, pos, ipaObj); } const glossTree = new Map(); @@ -253,16 +251,32 @@ function handleLine(line) { } if (currSense.glosses.length > 0) { - result.senses.push(currSense); + saveSenseResult(word, readings, pos, currSense); } } } -function initializeWordResult(word, reading, pos) { - const result = ensureNestedObject(lemmaDict, [word, reading, pos]); - result.ipa ??= []; - result.senses ??= []; - return result; +function saveSenseResult(word, readings, pos, currSense) { + for (const reading of readings) { + lemmaDict[word][reading][pos].senses.push(currSense); + } +} + +function saveIpaResult(word, readings, pos, ipaObj) { + for (const reading of readings) { + const result = lemmaDict[word][reading][pos]; + if (!result.ipa.some(obj => obj.ipa === ipaObj.ipa)) { + result.ipa.push(ipaObj); + } + } +} + +function initializeWordResult(word, readings, pos) { + for (const reading of readings) { + const result = ensureNestedObject(lemmaDict, [word, reading, pos]); + result.ipa ??= []; + result.senses ??= []; + } } function processInflectionGlosses(glosses, word, pos) { @@ -378,12 +392,12 @@ function getCanonicalForm({word, forms}) { return word; } -function getReading(word, line){ +function getReadings(word, line){ switch(sourceIso){ - case 'fa': return getPersianReading(word, line); - case 'ja': return getJapaneseReading(word, line); + case 'fa': return [getPersianReading(word, line)]; + case 'ja': return getJapaneseReadings(word, line); default: - return word; + return [word]; } } @@ -394,30 +408,35 @@ function getPersianReading(word, line){ return romanization ? romanization.form : word; } -function getJapaneseReading(word, line){ +function getJapaneseReadings(word, line){ const {head_templates} = line; if(!head_templates) { - return word; // among others, happens on kanji and alt forms + return [word]; // among others, happens on kanji and alt forms } if(!Array.isArray(head_templates) || head_templates.length === 0) { - return word; // never happens + return [word]; // never happens } if (head_templates.length > 1) { console.log('Multiple head_templates found for Japanese word:', word, head_templates); } + const readings = []; for (const template of head_templates) { switch(template.name) { case 'ja-noun': case 'ja-adj': case 'ja-verb': const reading = template?.args?.[1]; - return reading ? reading : word; + if(!reading) { + console.log('No reading found for Japanese word:', word, template); + continue; + } + readings.push(reading); default: // console.log('Unknown head_template:', word, head_templates); } } - return word; + return readings.length > 0 ? readings : [word]; } function handleAutomatedForms() { diff --git a/data/test/dict/ja/en/term_bank_1.json b/data/test/dict/ja/en/term_bank_1.json index b35cc0d..65844fb 100644 --- a/data/test/dict/ja/en/term_bank_1.json +++ b/data/test/dict/ja/en/term_bank_1.json @@ -205,5 +205,18 @@ ], 0, "" + ], + [ + "五色", + "ごしょく", + "n", + "n", + 0, + [ + "five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))", + "melon, gourd" + ], + 0, + "" ] ] \ No newline at end of file diff --git a/data/test/ipa/ja/en/term_meta_bank_1.json b/data/test/ipa/ja/en/term_meta_bank_1.json index ecc0add..6028d74 100644 --- a/data/test/ipa/ja/en/term_meta_bank_1.json +++ b/data/test/ipa/ja/en/term_meta_bank_1.json @@ -75,5 +75,22 @@ } ] } + ], + [ + "五色", + "ipa", + { + "reading": "ごしょく", + "transcriptions": [ + { + "ipa": "[ɡo̞ɕikʲi]", + "tags": [] + }, + { + "ipa": "[ɡo̞ɕo̞kɯ̟]", + "tags": [] + } + ] + } ] ] \ No newline at end of file diff --git a/data/test/tidy/ja-en-lemmas.json b/data/test/tidy/ja-en-lemmas.json index b18203b..25c94fc 100644 --- a/data/test/tidy/ja-en-lemmas.json +++ b/data/test/tidy/ja-en-lemmas.json @@ -282,6 +282,34 @@ } ] } + }, + "ごしょく": { + "noun": { + "ipa": [ + { + "ipa": "[ɡo̞ɕikʲi]", + "tags": [] + }, + { + "ipa": "[ɡo̞ɕo̞kɯ̟]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))" + ], + "tags": [] + }, + { + "glosses": [ + "melon, gourd" + ], + "tags": [] + } + ] + } } } } \ No newline at end of file From fd7a08fc31b84d65716b20c0540e787b025fc461 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 19:26:59 +0200 Subject: [PATCH 6/7] finish --- 3-tidy-up.js | 25 +++++++++++++++-------- data/test/dict/ja/en/tag_bank_1.json | 7 +++++++ data/test/dict/ja/en/term_bank_1.json | 12 +++++++++++ data/test/dict/ja/en/term_bank_2.json | 17 +++++++++++++++ data/test/ipa/ja/en/term_meta_bank_1.json | 13 ++++++++++++ data/test/kaikki/ja-en.json | 1 + data/test/tidy/ja-en-forms-0.json | 22 ++++++++++++++++++++ data/test/tidy/ja-en-lemmas.json | 20 ++++++++++++++++++ 8 files changed, 108 insertions(+), 9 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index 5c886fd..a9a49c8 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -416,24 +416,31 @@ function getJapaneseReadings(word, line){ if(!Array.isArray(head_templates) || head_templates.length === 0) { return [word]; // never happens } - if (head_templates.length > 1) { - console.log('Multiple head_templates found for Japanese word:', word, head_templates); - } const readings = []; for (const template of head_templates) { + let reading; switch(template.name) { case 'ja-noun': case 'ja-adj': case 'ja-verb': - const reading = template?.args?.[1]; - if(!reading) { - console.log('No reading found for Japanese word:', word, template); - continue; - } - readings.push(reading); + case 'ja-verb form': + case 'ja-verb-form': + case 'ja-phrase': + reading = template?.args?.[1]; + break; + case 'ja-pos': + reading = template?.args?.[2]; + break; + case 'head': + case 'ja-def': + case 'ja-syllable': + continue; default: // console.log('Unknown head_template:', word, head_templates); } + if(reading) { + readings.push(reading.replace(/\^| /g, '')); + } } return readings.length > 0 ? readings : [word]; diff --git a/data/test/dict/ja/en/tag_bank_1.json b/data/test/dict/ja/en/tag_bank_1.json index 2918aa4..5f2c6d3 100644 --- a/data/test/dict/ja/en/tag_bank_1.json +++ b/data/test/dict/ja/en/tag_bank_1.json @@ -75,5 +75,12 @@ 0, "music", 0 + ], + [ + "phrase", + "partOfSpeech", + -1, + "phrase", + 1 ] ] \ No newline at end of file diff --git a/data/test/dict/ja/en/term_bank_1.json b/data/test/dict/ja/en/term_bank_1.json index 65844fb..bacb81e 100644 --- a/data/test/dict/ja/en/term_bank_1.json +++ b/data/test/dict/ja/en/term_bank_1.json @@ -218,5 +218,17 @@ ], 0, "" + ], + [ + "お腹が空いた", + "おなかがすいた", + "phrase", + "phrase", + 0, + [ + "[I am / someone is] hungry" + ], + 0, + "" ] ] \ No newline at end of file diff --git a/data/test/dict/ja/en/term_bank_2.json b/data/test/dict/ja/en/term_bank_2.json index 02edbaf..3b4bb0e 100644 --- a/data/test/dict/ja/en/term_bank_2.json +++ b/data/test/dict/ja/en/term_bank_2.json @@ -3608,5 +3608,22 @@ ], 0, "" + ], + [ + "onaka ga suita", + "", + "non-lemma", + "", + 0, + [ + [ + "お腹が空いた", + [ + "romanization" + ] + ] + ], + 0, + "" ] ] \ No newline at end of file diff --git a/data/test/ipa/ja/en/term_meta_bank_1.json b/data/test/ipa/ja/en/term_meta_bank_1.json index 6028d74..240b4c6 100644 --- a/data/test/ipa/ja/en/term_meta_bank_1.json +++ b/data/test/ipa/ja/en/term_meta_bank_1.json @@ -92,5 +92,18 @@ } ] } + ], + [ + "お腹が空いた", + "ipa", + { + "reading": "おなかがすいた", + "transcriptions": [ + { + "ipa": "[o̞na̠ka̠ ɡa̠ sɨita̠]", + "tags": [] + } + ] + } ] ] \ No newline at end of file diff --git a/data/test/kaikki/ja-en.json b/data/test/kaikki/ja-en.json index c268a22..4fb112d 100644 --- a/data/test/kaikki/ja-en.json +++ b/data/test/kaikki/ja-en.json @@ -3,3 +3,4 @@ {"pos": "noun", "head_templates": [{"name": "ja-noun", "args": {"1": "たぬき", "2": "タヌキ"}, "expansion": "狸(たぬき) or 狸(タヌキ) • (tanuki)"}], "forms": [{"form": "狸", "ruby": [["狸", "たぬき"]], "tags": ["canonical"]}, {"form": "狸", "ruby": [["狸", "タヌキ"]], "tags": ["canonical"]}, {"form": "tanuki", "tags": ["romanization"]}], "proverbs": [{"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台"}, {"roman": "tanuki no haratsuzumi", "ruby": [["狸", "たぬき"], ["腹", "はら"], ["鼓", "つづみ"]], "word": "狸の腹鼓"}, {"roman": "kitsune to tanuki no bakashi ai", "ruby": [["狐", "きつね"], ["狸", "たぬき"], ["化", "ば"], ["合", "あ"]], "word": "狐と狸の化かし合い"}, {"word": "豺狼路に当たれり"}, {"roman": "sairō michi ni atareri, izukunzo kori o towan", "word": "安んぞ狐狸を問わん"}, {"roman": "shika matsu tokoro no tanuki", "ruby": [["鹿", "しか"], ["待", "ま"], ["所", "ところ"], ["狸", "たぬき"]], "word": "鹿待つ所の狸"}], "descendants": [{"depth": 1, "templates": [{"name": "desc", "args": {"1": "en", "2": "tanuki", "3": "tanooki", "bor": "1"}, "expansion": "→ English: tanuki, tanooki"}], "text": "→ English: tanuki, tanooki"}], "sounds": [{"other": "たぬき"}, {"ipa": "[ta̠nɯ̟kʲi]"}], "etymology_number": 1, "etymology_text": "According to one theory, derived from 手貫 (tanuki, “arm glove, gauntlet”), which raccoon dog hide was sometimes used for.", "etymology_templates": [{"name": "lang", "args": {"1": "ja", "2": "狸"}, "expansion": "狸"}], "word": "狸", "lang": "Japanese", "lang_code": "ja", "derived": [{"roman": "tanuki ayame", "ruby": [["狸", "タヌキ"], ["菖蒲", "アヤメ"]], "word": "狸菖蒲", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-udon", "ruby": [["狸", "たぬき"], ["饂飩", "うどん"]], "word": "狸饂飩", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki oyaji", "ruby": [["狸", "たぬき"], ["親", "おや"], ["父", "じ"]], "word": "狸親父", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigao", "ruby": [["狸", "たぬき"], ["顔", "がお"]], "word": "狸顔", "_dis1": "0 0 0 0 0"}, {"roman": "tanukigari", "ruby": [["狸", "たぬき"], ["狩", "が"]], "word": "狸狩り", "_dis1": "0 0 0 0 0"}, {"roman": "Tanuki Kōji", "ruby": [["狸", "たぬき"], ["小", "こう"], ["路", "じ"]], "word": "狸小路", "_dis1": "0 0 0 0 0"}, {"roman": "tanukijijī", "ruby": [["狸", "たぬき"], ["爺", "じじい"]], "word": "狸爺", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-jiru", "ruby": [["狸", "たぬき"], ["汁", "じる"]], "word": "狸汁", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki-soba", "ruby": [["狸", "たぬき"], ["蕎", "そ"], ["麦", "ば"]], "word": "狸蕎麦", "_dis1": "0 0 0 0 0"}, {"roman": "tanukitsuki", "ruby": [["狸", "たぬき"], ["憑", "つ"]], "word": "狸憑き", "_dis1": "0 0 0 0 0"}, {"roman": "tanukine", "ruby": [["狸", "たぬき"], ["寝", "ね"]], "word": "狸寝", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki neiri", "ruby": [["狸", "たぬき"], ["寝入", "ねい"]], "word": "狸寝入り", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no shokudai", "ruby": [["狸", "たぬき"], ["燭", "しょく"], ["台", "だい"]], "word": "狸の燭台", "_dis1": "0 0 0 0 0"}, {"roman": "tanuki no chabukuro", "ruby": [["狸", "たぬき"], ["茶", "ちゃ"], ["袋", "ぶくろ"]], "word": "狸の茶袋", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibabā", "ruby": [["狸", "たぬき"], ["婆", "ばばあ"]], "word": "狸婆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibayashi", "ruby": [["狸", "たぬき"], ["囃", "ばや"], ["子", "し"]], "word": "狸囃子", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibue", "ruby": [["狸", "たぬき"], ["笛", "ぶえ"]], "word": "狸笛", "_dis1": "0 0 0 0 0"}, {"roman": "tanukibori", "ruby": [["狸", "たぬき"], ["掘", "ぼ"]], "word": "狸掘り", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimame", "ruby": [["狸", "タヌキ"], ["豆", "マメ"]], "word": "狸豆", "_dis1": "0 0 0 0 0"}, {"roman": "tanukimo", "ruby": [["狸", "タヌキ"], ["藻", "モ"]], "word": "狸藻", "_dis1": "0 0 0 0 0"}, {"roman": "tanukiran", "ruby": [["狸", "タヌキ"], ["蘭", "ラン"]], "word": "狸蘭", "_dis1": "0 0 0 0 0"}, {"roman": "amezaiku no tanuki", "ruby": [["飴", "あめ"], ["細", "ざい"], ["工", "く"], ["狸", "たぬき"]], "word": "飴細工の狸", "_dis1": "0 0 0 0 0"}, {"roman": "Idanuki", "ruby": [["射", "い"], ["狸", "だぬき"]], "word": "射狸", "_dis1": "0 0 0 0 0"}, {"roman": "iwadanuki", "ruby": [["岩", "いわ"], ["狸", "だぬき"]], "word": "岩狸", "_dis1": "0 0 0 0 0"}, {"roman": "umidanuki", "ruby": [["海", "うみ"], ["狸", "だぬき"]], "word": "海狸", "_dis1": "0 0 0 0 0"}, {"roman": "omoshiro-danuki", "ruby": [["面", "おも"], ["白", "しろ"], ["狸", "だぬき"]], "word": "面白狸", "_dis1": "0 0 0 0 0"}, {"roman": "Kakushidanuki", "ruby": [["隠", "かくし"], ["狸", "だぬき"]], "word": "隠狸", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune to tanuki", "ruby": [["狐", "きつね"], ["狸", "たぬき"]], "word": "狐と狸", "_dis1": "0 0 0 0 0"}, {"roman": "hatsūma no tanuki", "ruby": [["初", "はつ"], ["午", "うま"], ["狸", "たぬき"]], "word": "初午の狸", "_dis1": "0 0 0 0 0"}, {"roman": "furudanuki", "ruby": [["古", "ふる"], ["狸", "だぬき"]], "word": "古狸", "_dis1": "0 0 0 0 0"}, {"roman": "hondo tanuki", "ruby": [["本", "ホン"], ["土", "ド"], ["狸", "タヌキ"]], "word": "本土狸", "_dis1": "0 0 0 0 0"}, {"roman": "mamedanuki", "ruby": [["豆", "まめ"], ["狸", "だぬき"]], "word": "豆狸", "_dis1": "0 0 0 0 0"}, {"roman": "midanuki", "ruby": [["貒", "み"], ["狸", "だぬき"]], "word": "貒狸", "_dis1": "0 0 0 0 0"}], "related": [{"roman": "tanuki no kintama hachijōjiki", "ruby": [["狸", "たぬき"], ["睾", "きん"], ["丸", "たま"], ["八", "はち"], ["畳", "じょう"], ["敷", "じき"]], "word": "狸の睾丸八畳敷", "_dis1": "0 0 0 0 0"}, {"roman": "onaji ana no tanuki", "ruby": [["同", "おな"], ["穴", "あな"], ["狸", "たぬき"]], "word": "同じ穴の狸", "_dis1": "0 0 0 0 0"}, {"roman": "toranu tanuki no kawazan'yō", "ruby": [["取", "と"], ["狸", "たぬき"], ["皮", "かわ"], ["算", "ざん"], ["用", "よう"]], "word": "取らぬ狸の皮算用", "_dis1": "0 0 0 0 0"}, {"roman": "anaguma", "ruby": [["穴", "アナ"], ["熊", "グマ"]], "english": "badger", "word": "穴熊", "_dis1": "0 0 0 0 0"}, {"roman": "araiguma", "ruby": [["洗", "アライ"], ["熊", "グマ"]], "english": "raccoon", "word": "洗熊", "_dis1": "0 0 0 0 0"}, {"roman": "inu", "ruby": [["犬", "イヌ"]], "english": "dog", "word": "犬", "_dis1": "0 0 0 0 0"}, {"roman": "kitsune", "ruby": [["狐", "キツネ"]], "english": "fox", "word": "狐", "_dis1": "0 0 0 0 0"}, {"roman": "neko", "ruby": [["猫", "ネコ"]], "english": "cat", "word": "猫", "_dis1": "0 0 0 0 0"}], "senses": [{"examples": [{"text": "アライグマなら尻尾にシマがある。どう見でもタヌキだ。", "ref": "2020 March 21, Kazuki Nakashima, “Rabbit Town”, in BNA ビー・エヌ・エー [BNA], episode 2, spoken by Shirou Ogami (Yoshimasa Hosoya), Toho/Netflix", "english": "If you're a raccoon, you'd have stripes on your tail. No matter how you look at it, you're a raccoon dog.", "roman": "Araiguma nara shippo ni shima ga aru. Dō mi demo tanuki da.", "ruby": [["尻", "しっ"], ["尾", "ぽ"], ["見", "み"]]}], "links": [["raccoon dog", "raccoon dog"], ["Nyctereutes procyonoides", "Nyctereutes procyonoides#Translingual"]], "synonyms": [{"word": "マミ"}, {"word": "狢"}], "glosses": ["a raccoon dog, Nyctereutes procyonoides"], "id": "en-狸-ja-noun-HN8Mzyln", "categories": []}, {"examples": [{"text": "やいやい、其処な狸め", "ref": "1717, Kokusen'ya gonichi gassen (jōruri), volume 3", "english": "Hey there, you sly dog!", "roman": "yai yai, soko na tanuki me", "ruby": [["其処", "そこ"], ["狸", "たぬき"]]}], "links": [["person", "person"], ["pretend", "pretend"], ["good", "good"], ["cunning", "cunning"], ["English", "w:English language"], ["sly fox", "sly fox#English"]], "raw_glosses": ["(figurative) a person who pretends to be good but in fact is cunning (compare English sly fox)"], "glosses": ["a person who pretends to be good but in fact is cunning (compare English sly fox)"], "tags": ["figuratively"], "id": "en-狸-ja-noun-wc3eBztC", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 14 14 0 6 7 14"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "0 4 6 19 14 15 14 1 6 7 14"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "0 11 6 19 13 13 12 0 6 8 13"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "9 29 21 21 20"}]}, {"links": [["狸饂飩", "狸饂飩#Japanese"], ["udon", "udon"], ["狸蕎麦", "狸蕎麦#Japanese"], ["soba", "soba"], ["style", "style"], ["noodle", "noodle"], ["dish", "dish"]], "glosses": ["Short for 狸饂飩 (tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"], "tags": ["abbreviation", "alt-of"], "alt_of": [{"word": "狸饂飩", "extra": "(tanuki-udon) and 狸蕎麦 (tanuki-soba): styles of various noodle dishes"}], "id": "en-狸-ja-noun-Xp5gov3f", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"examples": [{"text": "狸を決め込む ― tanuki o kimekomu ― pretend to be a raccoon dog → feign sleep", "ruby": [["狸", "たぬき"], ["決", "き"], ["込", "こ"]]}], "links": [["狸寝入り", "狸寝入り#Japanese"], ["asleep", "asleep"]], "raw_glosses": ["(rare) Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "glosses": ["Short for 狸寝入り (tanuki neiri): pretending to be asleep"], "tags": ["abbreviation", "alt-of", "rare"], "alt_of": [{"word": "狸寝入り", "extra": "(tanuki neiri): pretending to be asleep"}], "id": "en-狸-ja-noun-stLV1Ixr", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}, {"links": [["狸汁", "狸汁#Japanese"], ["soup", "soup"], ["meat", "meat"], ["daikon", "daikon"], ["burdock", "burdock"], ["root", "root"]], "raw_glosses": ["(rare, obsolete) Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "glosses": ["Short for 狸汁 (tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc."], "tags": ["abbreviation", "alt-of", "obsolete", "rare"], "alt_of": [{"word": "狸汁", "extra": "(tanuki-jiru): a soup made from tanuki meat mixed with daikon, burdock root, etc"}], "id": "en-狸-ja-noun-q8SdP3Op", "categories": [{"name": "Pages with raw sortkeys", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "4 4 0 1 4 6 14 15 15 15 1 3 2 14 0 1"}, {"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "0 2 7 15 17 17 16 0 4 5 16"}, {"name": "Japanese terms with multiple readings", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "1 4 5 18 17 16 15 1 3 3 16"}]}]} {"pos": "verb", "head_templates": [{"name": "ja-verb", "args": {"tr": "intrans", "type": "1", "1": "はしる"}, "expansion": "走(はし)る • (hashiru) intransitive godan (stem 走(はし)り (hashiri), past 走(はし)った (hashitta))"}], "forms": [{"form": "走る", "ruby": [["走", "はし"]], "tags": ["canonical"]}, {"form": "hashiru", "tags": ["romanization"]}, {"form": "走り", "roman": "hashiri", "ruby": [["走", "はし"]], "tags": ["stem"]}, {"form": "走った", "roman": "hashitta", "ruby": [["走", "はし"]], "tags": ["past"]}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-go-ru", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしら", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashira", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走り", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしり", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiri", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走る", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしる", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashiru", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走れ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "はしれ", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "hashire", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "走られる", "tags": ["passive"], "source": "conjugation"}, {"form": "はしられる", "tags": ["passive"], "source": "conjugation"}, {"form": "hashirareru", "tags": ["passive"], "source": "conjugation"}, {"form": "走らせる", "tags": ["causative"], "source": "conjugation"}, {"form": "走らす", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらせる", "tags": ["causative"], "source": "conjugation"}, {"form": "はしらす", "tags": ["causative"], "source": "conjugation"}, {"form": "hashiraseru", "tags": ["causative"], "source": "conjugation"}, {"form": "hashirasu", "tags": ["causative"], "source": "conjugation"}, {"form": "走れる", "tags": ["potential"], "source": "conjugation"}, {"form": "はしれる", "tags": ["potential"], "source": "conjugation"}, {"form": "hashireru", "tags": ["potential"], "source": "conjugation"}, {"form": "走ろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしろう", "tags": ["volitional"], "source": "conjugation"}, {"form": "hashirō", "tags": ["volitional"], "source": "conjugation"}, {"form": "走らない", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらない", "tags": ["negative"], "source": "conjugation"}, {"form": "hashiranai", "tags": ["negative"], "source": "conjugation"}, {"form": "走らず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "hashirazu", "tags": ["continuative", "negative"], "source": "conjugation"}, {"form": "走ります", "tags": ["formal"], "source": "conjugation"}, {"form": "はしります", "tags": ["formal"], "source": "conjugation"}, {"form": "hashirimasu", "tags": ["formal"], "source": "conjugation"}, {"form": "走った", "tags": ["perfective"], "source": "conjugation"}, {"form": "はしった", "tags": ["perfective"], "source": "conjugation"}, {"form": "hashitta", "tags": ["perfective"], "source": "conjugation"}, {"form": "走って", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "はしって", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "hashitte", "tags": ["conjunctive"], "source": "conjugation"}, {"form": "走れば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "はしれば", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "hashireba", "tags": ["conditional", "hypothetical"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "ja-conj-bungo", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "走ら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "はしら", "tags": ["irrealis", "stem"], "source": "conjugation"}, {"form": "fasira", "tags": ["irrealis"], "source": "conjugation"}, {"form": "走り", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "はしり", "tags": ["continuative", "stem"], "source": "conjugation"}, {"form": "fasiri", "tags": ["continuative"], "source": "conjugation"}, {"form": "走る", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "はしる", "tags": ["stem", "terminative"], "source": "conjugation"}, {"form": "fasiru", "tags": ["terminative"], "source": "conjugation"}, {"form": "走る", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "はしる", "tags": ["attributive", "stem"], "source": "conjugation"}, {"form": "fasiru", "tags": ["attributive"], "source": "conjugation"}, {"form": "走れ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["realis", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["realis"], "source": "conjugation"}, {"form": "走れ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "はしれ", "tags": ["imperative", "stem"], "source": "conjugation"}, {"form": "fasire", "tags": ["imperative"], "source": "conjugation"}, {"form": "走らず", "tags": ["negative"], "source": "conjugation"}, {"form": "はしらず", "tags": ["negative"], "source": "conjugation"}, {"form": "fasirazu", "tags": ["negative"], "source": "conjugation"}, {"form": "走れど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "はしれど", "tags": ["contrastive"], "source": "conjugation"}, {"form": "fasiredo", "tags": ["contrastive"], "source": "conjugation"}, {"form": "走れば", "tags": ["causative"], "source": "conjugation"}, {"form": "はしれば", "tags": ["causative"], "source": "conjugation"}, {"form": "fasireba", "tags": ["causative"], "source": "conjugation"}, {"form": "走らば", "tags": ["conditional"], "source": "conjugation"}, {"form": "はしらば", "tags": ["conditional"], "source": "conjugation"}, {"form": "fasiraba", "tags": ["conditional"], "source": "conjugation"}, {"form": "走りき", "tags": ["past"], "source": "conjugation"}, {"form": "はしりき", "tags": ["past"], "source": "conjugation"}, {"form": "fasiriki", "tags": ["past"], "source": "conjugation"}, {"form": "走りけり", "tags": ["past"], "source": "conjugation"}, {"form": "はしりけり", "tags": ["past"], "source": "conjugation"}, {"form": "fasirikeri", "tags": ["past"], "source": "conjugation"}, {"form": "走りつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりつ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasiritu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走りぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "はしりぬ", "tags": ["perfect"], "source": "conjugation"}, {"form": "fasirinu", "tags": ["perfect"], "source": "conjugation"}, {"form": "走れり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走りたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしれり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "はしりたり", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasireri", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "fasiritari", "tags": ["continuative", "perfect"], "source": "conjugation"}, {"form": "走らむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "はしらむ", "tags": ["volitional"], "source": "conjugation"}, {"form": "fasiramu", "tags": ["volitional"], "source": "conjugation"}], "inflection_templates": [{"name": "ja-conj-bungo", "args": {"1": "はし", "2": "4-r"}}], "word": "走る", "lang": "Japanese", "lang_code": "ja", "sounds": [{"other": "はしる"}, {"ipa": "[ha̠ɕiɾɯ̟]"}, {"audio": "LL-Q5287_(jpn)-Higa4-走る.wav", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/2/2a/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav/LL-Q5287_%28jpn%29-Higa4-%E8%B5%B0%E3%82%8B.wav.mp3"}], "derived": [{"roman": "hashiri", "ruby": [["走", "はし"]], "word": "走り", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}, {"roman": "tsuppashiru", "ruby": [["突", "つ"], ["走", "ぱし"]], "word": "突っ走る", "_dis1": "0 0 0 0 0 0 0 0 0 0 0 0 0 0"}], "senses": [{"examples": [{"text": "車が走っている。", "english": "A car is running. / Cars are running.", "roman": "Kuruma ga hashitteiru.", "ruby": [["車", "くるま"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["move", "move"], ["machine", "machine"], ["operate", "operate"], ["function", "function"], ["high", "high"], ["speed", "speed"], ["vehicle", "vehicle"]], "synonyms": [{"word": "駆ける"}, {"word": "運行"}], "glosses": ["to run (move fast on foot)", "to move forward; (of a machine) to operate, function; (of objects) to move at a high speed (of a vehicle)"], "id": "en-走る-ja-verb-FwD7Wxep", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "石の上を水が走る。", "english": "The water runs over the stones.", "roman": "Ishi no ue o mizu ga hashiru.", "ruby": [["石", "いし"], ["上", "うえ"], ["水", "みず"], ["走", "はし"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"], ["flow", "flow"], ["vigorously", "vigorously"], ["liquid", "liquid"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)", "to flow vigorously (of liquid)"], "id": "en-走る-ja-verb-M0sN3Ib1", "categories": []}, {"examples": [{"text": "マラソン選手が走り出した。", "english": "Marathon athlete(s) started running.", "roman": "Marason senshu ga hashiridashita.", "ruby": [["選", "せん"], ["手", "しゅ"], ["走", "はし"], ["出", "だ"]]}], "links": [["run", "run"], ["fast", "fast#English"], ["foot", "foot#English"]], "synonyms": [{"word": "駆ける"}], "glosses": ["to run (move fast on foot)"], "id": "en-走る-ja-verb-4GjEtjTX", "categories": []}, {"examples": [{"text": "彼はこの道をよく走る。", "english": "He often runs down this street.", "roman": "Kare wa kono michi o yoku hashiru.", "ruby": [["彼", "かれ"], ["道", "みち"], ["走", "はし"]]}], "raw_glosses": ["(transitive) to run through some kind of place"], "glosses": ["to run through some kind of place"], "tags": ["transitive"], "id": "en-走る-ja-verb-xNCenb0Z", "categories": []}, {"examples": [{"text": "刀が鞘から走る。", "english": "The sword slides out of its sheath.", "roman": "Katana ga saya kara hashiru.", "ruby": [["刀", "かたな"], ["鞘", "さや"], ["走", "はし"]]}], "links": [["move", "move"], ["smoothly", "smoothly"], ["slide", "slide"]], "glosses": ["to move smoothly; to slide"], "id": "en-走る-ja-verb-PzA3rU~v", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["run away", "run away"], ["escape", "escape"]], "synonyms": [{"word": "逃亡"}, {"word": "出奔"}], "glosses": ["to run away, escape"], "id": "en-走る-ja-verb-Z~dL4k-t", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"links": [["rush", "rush"], ["hurry", "hurry"]], "synonyms": [{"word": "駆け付ける"}], "glosses": ["to rush, hurry around"], "id": "en-走る-ja-verb-4OvdKqHk"}, {"examples": [{"text": "彼は敵に走った。", "english": "He defected to the enemy.", "roman": "Kare wa teki ni hashitta.", "ruby": [["彼", "かれ"], ["敵", "てき"], ["走", "はし"]]}, {"text": "立場を忘れて感情に走ってはいけない。", "english": "Don't forget your stance and give in to emotions.", "roman": "Tachiba o wasurete kanjō ni hashitte wa ikenai.", "ruby": [["立", "たち"], ["場", "ば"], ["忘", "わす"], ["感", "かん"], ["情", "じょう"], ["走", "はし"]]}], "links": [["give over", "give over"], ["commit", "commit"]], "glosses": ["to give over oneself to; to commit oneself to (usually something bad)"], "id": "en-走る-ja-verb-5ePHopgO", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "4 2 2 2 17 4 4 22 8 5 2 16 2 11"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["spread out", "spread out"], ["scatter", "scatter"], ["splatter", "splatter"], ["spout", "spout"]], "synonyms": [{"word": "飛び散る"}, {"word": "ほとばしる"}], "glosses": ["to spread out, scatter, splatter, spout"], "id": "en-走る-ja-verb-6FArFH4U", "categories": [{"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}]}, {"examples": [{"text": "山脈が南北に走る。\nSanmyaku ga nanboku ni hashiru.\nThe mountain range runs north–south.", "ruby": [["山", "さん"], ["脈", "みゃく"], ["南", "なん"], ["北", "ぼく"], ["走", "はし"]]}], "links": [["lead", "lead"], ["extend", "extend"], ["direction", "direction"]], "glosses": ["to lead or extend in a certain direction"], "id": "en-走る-ja-verb-ywcGBl7h", "categories": []}, {"examples": [{"text": "稲妻が走る", "english": "lightning flashes by", "roman": "inazuma ga hashiru", "ruby": [["稲", "いな"], ["妻", "ずま"], ["走", "はし"]]}, {"text": "背中に痛みが走った。", "english": "I felt a brief pain in my back.", "roman": "Senaka ni itami ga hashitta.", "ruby": [["背", "せ"], ["中", "なか"], ["痛", "いた"], ["走", "はし"]]}], "links": [["appear", "appear"], ["briefly", "briefly"], ["flash", "flash"]], "glosses": ["to appear briefly; to flash"], "id": "en-走る-ja-verb-RHgqK8jH", "categories": []}, {"links": [["胸(むね)", "胸#Japanese"], ["palpitation", "palpitation"], ["sense", "sense"], ["unease", "unease"]], "raw_glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease"], "glosses": ["(used with 胸(むね)が (mune ga)) to feel palpitations; to have a sense of unease", "to feel palpitations; to have a sense of unease"], "raw_tags": ["used with 胸(むね)が (mune ga)"], "id": "en-走る-ja-verb-c~GMjQrW", "categories": [{"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}, {"name": "Japanese type 1 verbs that end in -iru or -eru", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "9 4 4 6 10 9 4 12 9 7 4 10 4 8"}]}, {"links": [["crack", "crack"]], "synonyms": [{"word": "割れる"}], "raw_glosses": ["(euphemistic) to crack"], "glosses": ["to crack"], "tags": ["euphemistic"], "id": "en-走る-ja-verb-79igwW7M", "categories": [{"name": "Japanese euphemisms", "kind": "other", "parents": [], "source": "w"}]}, {"links": [["music", "music"], ["ハシる", "ハシる#Japanese"]], "raw_glosses": ["(music) Alternative spelling of ハシる"], "topics": ["entertainment", "lifestyle", "music"], "glosses": ["Alternative spelling of ハシる"], "tags": ["alt-of", "alternative"], "alt_of": [{"word": "ハシる"}], "id": "en-走る-ja-verb--201E1Ga", "categories": [{"name": "Music", "kind": "topical", "parents": ["Art", "Sound", "Culture", "Energy", "Society", "Nature", "All topics", "Fundamental"], "source": "w", "orig": "ja:Music", "langcode": "ja"}, {"name": "Japanese links with manual fragments", "kind": "other", "parents": ["Links with manual fragments", "Entry maintenance"], "source": "w+disamb", "_dis": "7 2 2 6 11 6 4 15 8 10 2 11 2 13"}, {"name": "Japanese links with redundant alt parameters", "kind": "other", "parents": ["Links with redundant alt parameters", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 18 8 6 2 14 2 17"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 15 4 3 19 8 7 2 15 2 15"}, {"name": "Japanese terms with 1 kanji", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "10 4 4 6 8 10 5 8 10 8 4 7 4 11"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 17 3 3 19 8 7 3 14 2 15"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w+disamb", "_dis": "5 2 2 2 16 4 3 18 8 7 2 14 2 16"}]}]} {"pos": "noun", "head_templates": [{"name": "ja-noun", "args": {"1": "ごしき", "hhira": "ごしき"}, "expansion": "五(ご)色(しき) • (goshiki) ^(←ごしき (gosiki)?)"}, {"name": "ja-noun", "args": {"1": "ごしょく", "hhira": "ごしよく"}, "expansion": "五(ご)色(しょく) • (goshoku) ^(←ごしよく (gosyoku)?)"}], "forms": [{"form": "五色", "head_nr": 1, "ruby": [["五", "ご"], ["色", "しき"]], "tags": ["canonical"]}, {"form": "goshiki", "head_nr": 1, "tags": ["romanization"]}, {"form": "gosiki", "head_nr": 1, "tags": ["romanization"]}, {"form": "ごしき", "head_nr": 1, "roman": "gosiki", "tags": ["hiragana", "historical"]}, {"form": "五色", "head_nr": 2, "ruby": [["五", "ご"], ["色", "しょく"]], "tags": ["canonical"]}, {"form": "goshoku", "head_nr": 2, "tags": ["romanization"]}, {"form": "gosyoku", "head_nr": 2, "tags": ["romanization"]}, {"form": "ごしよく", "head_nr": 2, "roman": "gosyoku", "tags": ["hiragana", "historical"]}], "word": "五色", "lang": "Japanese", "lang_code": "ja", "wikipedia": ["ja:五色"], "sounds": [{"other": "ごしき"}, {"other": "ごしき"}, {"ipa": "[ɡo̞ɕikʲi]"}, {"other": "ごしょく"}, {"other": "ごしょく"}, {"ipa": "[ɡo̞ɕo̞kɯ̟]"}], "derived": [{"roman": "goshiki-age", "ruby": [["五", "ご"], ["色", "しき"], ["揚", "あ"]], "word": "五色揚げ", "_dis1": "0 0"}, {"roman": "goshiki-ebi", "ruby": [["五", "ご"], ["色", "しき"], ["海老", "えび"]], "word": "五色海老", "_dis1": "0 0"}, {"roman": "goshiki-gawa", "ruby": [["五", "ご"], ["色", "しき"], ["革", "がわ"]], "word": "五色革", "_dis1": "0 0"}, {"roman": "goshiki-sazae", "ruby": [["五", "ご"], ["色", "しき"], ["栄螺", "さざえ"]], "word": "五色栄螺", "_dis1": "0 0"}, {"roman": "goshiki sōmen", "ruby": [["五", "ご"], ["色", "しき"], ["素", "そう"], ["麺", "めん"]], "word": "五色素麺", "_dis1": "0 0"}, {"roman": "goshiki chazuke", "ruby": [["五", "ご"], ["色", "しき"], ["茶", "ちゃ"], ["漬", "づ"]], "word": "五色茶漬け", "_dis1": "0 0"}, {"roman": "goshiki-dori", "ruby": [["五", "ご"], ["色", "しき"], ["鳥", "どり"]], "word": "五色鳥", "_dis1": "0 0"}, {"roman": "goshiki-namasu", "ruby": [["五", "ご"], ["色", "しき"], ["膾", "なます"]], "word": "五色膾", "_dis1": "0 0"}, {"roman": "goshiki no ito", "ruby": [["五", "ご"], ["色", "しき"], ["糸", "いと"]], "word": "五色の糸", "_dis1": "0 0"}, {"ruby": [["五", "ご"], ["色", "しき"], ["酒", "さけ"]], "english": "goshiki no sake", "word": "五色の酒", "_dis1": "0 0"}, {"roman": "goshiki no sen", "ruby": [["五", "ご"], ["色", "しき"], ["賤", "せん"]], "word": "五色の賤", "_dis1": "0 0"}, {"roman": "goshiki no mizu", "ruby": [["五", "ご"], ["色", "しき"], ["水", "みず"]], "word": "五色の水", "_dis1": "0 0"}, {"roman": "goshiki-hiwa", "ruby": [["五", "ご"], ["色", "しき"], ["鶸", "ひわ"]], "word": "五色鶸", "_dis1": "0 0"}], "senses": [{"head_nr": 2, "links": [["five", "five"], ["colors", "colors"], ["red", "red"], ["赤", "赤#Japanese"], ["blue", "blue"], ["青", "青#Japanese"], ["yellow", "yellow"], ["黄", "黄#Japanese"], ["white", "white"], ["白", "白#Japanese"], ["black", "black"], ["黒", "黒#Japanese"]], "glosses": ["five colors (usu. red (赤), blue (青), yellow (黄), white (白) and black (黒))"], "id": "en-五色-ja-noun-6ibvBfEv"}, {"head_nr": 2, "links": [["melon", "melon"], ["gourd", "gourd"]], "synonyms": [{"word": "瓜"}], "glosses": ["melon, gourd"], "id": "en-五色-ja-noun--bAzc9nu"}]} +{"pos": "phrase", "head_templates": [{"name": "ja-phrase", "args": {"1": "おなか が すいた"}, "expansion": "お腹(なか)が空(す)いた • (onaka ga suita)"}], "forms": [{"form": "お腹が空いた", "ruby": [["腹", "なか"], ["空", "す"]], "tags": ["canonical"]}, {"form": "onaka ga suita", "tags": ["romanization"]}], "sounds": [{"ipa": "[o̞na̠ka̠ ɡa̠ sɨita̠]"}], "etymology_text": "The perfective form of お腹が空く (onaka ga suku, “to become hungry”, literally “one's stomach becomes empty”).", "word": "お腹が空いた", "lang": "Japanese", "lang_code": "ja", "senses": [{"links": [["hungry", "hungry"]], "glosses": ["[I am / someone is] hungry"], "id": "en-お腹が空いた-ja-phrase-eIE~bEe3", "categories": [{"name": "Japanese entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w"}, {"name": "Japanese links with redundant wikilinks", "kind": "other", "parents": ["Links with redundant wikilinks", "Entry maintenance"], "source": "w"}, {"name": "Japanese terms with 2 kanji", "kind": "other", "parents": [], "source": "w"}, {"name": "Japanese terms with non-redundant non-automated sortkeys", "kind": "other", "parents": ["Terms with non-redundant non-automated sortkeys", "Entry maintenance"], "source": "w"}, {"name": "Japanese terms with redundant sortkeys", "kind": "other", "parents": ["Terms with redundant sortkeys", "Entry maintenance"], "source": "w"}], "related": [{"roman": "onaka", "ruby": [["腹", "なか"]], "word": "お腹"}, {"roman": "suku", "ruby": [["空", "す"]], "word": "空く"}, {"roman": "onaka pekopeko", "ruby": [["腹", "なか"]], "word": "お腹ぺこぺこ"}, {"roman": "onaka ga hetta", "ruby": [["腹", "なか"]], "word": "お腹がへった"}]}]} diff --git a/data/test/tidy/ja-en-forms-0.json b/data/test/tidy/ja-en-forms-0.json index 39bcaca..f6e71eb 100644 --- a/data/test/tidy/ja-en-forms-0.json +++ b/data/test/tidy/ja-en-forms-0.json @@ -2833,6 +2833,28 @@ ] ] } + ], + [ + "お腹が空いた", + { + "_type": "map", + "map": [ + [ + "onaka ga suita", + { + "_type": "map", + "map": [ + [ + "phrase", + [ + "romanization" + ] + ] + ] + } + ] + ] + } ] ] } \ No newline at end of file diff --git a/data/test/tidy/ja-en-lemmas.json b/data/test/tidy/ja-en-lemmas.json index 25c94fc..b83aac5 100644 --- a/data/test/tidy/ja-en-lemmas.json +++ b/data/test/tidy/ja-en-lemmas.json @@ -311,5 +311,25 @@ ] } } + }, + "お腹が空いた": { + "おなかがすいた": { + "phrase": { + "ipa": [ + { + "ipa": "[o̞na̠ka̠ ɡa̠ sɨita̠]", + "tags": [] + } + ], + "senses": [ + { + "glosses": [ + "[I am / someone is] hungry" + ], + "tags": [] + } + ] + } + } } } \ No newline at end of file From 1d4313aaa38110891eca309541c5f878d23648a3 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 11 Aug 2024 19:44:33 +0200 Subject: [PATCH 7/7] blacklist romanization inflection --- 3-tidy-up.js | 1 + data/test/dict/fa/en/term_bank_2.json | 21 +-- data/test/dict/ja/en/term_bank_2.json | 188 ++++---------------------- data/test/tidy/fa-en-forms-0.json | 47 +------ data/test/tidy/ja-en-forms-0.json | 159 ++-------------------- 5 files changed, 42 insertions(+), 374 deletions(-) diff --git a/3-tidy-up.js b/3-tidy-up.js index a9a49c8..b0dd495 100644 --- a/3-tidy-up.js +++ b/3-tidy-up.js @@ -109,6 +109,7 @@ const blacklistedTags = [ 'obsolete', 'archaic', 'used-in-the-form', + 'romanization' ]; const identityTags = [ diff --git a/data/test/dict/fa/en/term_bank_2.json b/data/test/dict/fa/en/term_bank_2.json index 6d352f7..ef50eae 100644 --- a/data/test/dict/fa/en/term_bank_2.json +++ b/data/test/dict/fa/en/term_bank_2.json @@ -1,6 +1,6 @@ [ [ - "fârsi", + "فارسی", "", "non-lemma", "", @@ -9,24 +9,7 @@ [ "فارْسی", [ - "romanization" - ] - ] - ], - 0, - "" - ], - [ - "molk", - "", - "non-lemma", - "", - 0, - [ - [ - "ملک", - [ - "romanization" + "فارسی ≈ فارْسی" ] ] ], diff --git a/data/test/dict/ja/en/term_bank_2.json b/data/test/dict/ja/en/term_bank_2.json index 3b4bb0e..2106bd9 100644 --- a/data/test/dict/ja/en/term_bank_2.json +++ b/data/test/dict/ja/en/term_bank_2.json @@ -1,33 +1,4 @@ [ - [ - "tanoshii", - "", - "non-lemma", - "", - 0, - [ - [ - "楽しい", - [ - "attributive" - ] - ], - [ - "楽しい", - [ - "romanization" - ] - ], - [ - "楽しい", - [ - "terminative" - ] - ] - ], - 0, - "" - ], [ "楽しく", "", @@ -177,6 +148,29 @@ 0, "" ], + [ + "tanoshii", + "", + "non-lemma", + "", + 0, + [ + [ + "楽しい", + [ + "attributive" + ] + ], + [ + "楽しい", + [ + "terminative" + ] + ] + ], + 0, + "" + ], [ "楽しけれ", "", @@ -922,23 +916,6 @@ 0, "" ], - [ - "suki", - "", - "non-lemma", - "", - 0, - [ - [ - "好き", - [ - "romanization" - ] - ] - ], - 0, - "" - ], [ "好きな", "", @@ -2142,40 +2119,6 @@ 0, "" ], - [ - "tanuki", - "", - "non-lemma", - "", - 0, - [ - [ - "狸", - [ - "romanization" - ] - ] - ], - 0, - "" - ], - [ - "hashiru", - "", - "non-lemma", - "", - 0, - [ - [ - "走る", - [ - "romanization" - ] - ] - ], - 0, - "" - ], [ "走り", "", @@ -3505,40 +3448,6 @@ 0, "" ], - [ - "goshiki", - "", - "non-lemma", - "", - 0, - [ - [ - "五色", - [ - "romanization" - ] - ] - ], - 0, - "" - ], - [ - "gosiki", - "", - "non-lemma", - "", - 0, - [ - [ - "五色", - [ - "romanization" - ] - ] - ], - 0, - "" - ], [ "ごしき", "", @@ -3557,40 +3466,6 @@ 0, "" ], - [ - "goshoku", - "", - "non-lemma", - "", - 0, - [ - [ - "五色", - [ - "romanization" - ] - ] - ], - 0, - "" - ], - [ - "gosyoku", - "", - "non-lemma", - "", - 0, - [ - [ - "五色", - [ - "romanization" - ] - ] - ], - 0, - "" - ], [ "ごしよく", "", @@ -3608,22 +3483,5 @@ ], 0, "" - ], - [ - "onaka ga suita", - "", - "non-lemma", - "", - 0, - [ - [ - "お腹が空いた", - [ - "romanization" - ] - ] - ], - 0, - "" ] ] \ No newline at end of file diff --git a/data/test/tidy/fa-en-forms-0.json b/data/test/tidy/fa-en-forms-0.json index 3e086b6..f4ab01d 100644 --- a/data/test/tidy/fa-en-forms-0.json +++ b/data/test/tidy/fa-en-forms-0.json @@ -1,49 +1,4 @@ { "_type": "map", - "map": [ - [ - "ملک", - { - "_type": "map", - "map": [ - [ - "molk", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ] - ] - } - ], - [ - "فارْسی", - { - "_type": "map", - "map": [ - [ - "fârsi", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ] - ] - } - ] - ] + "map": [] } \ No newline at end of file diff --git a/data/test/tidy/ja-en-forms-0.json b/data/test/tidy/ja-en-forms-0.json index f6e71eb..d683586 100644 --- a/data/test/tidy/ja-en-forms-0.json +++ b/data/test/tidy/ja-en-forms-0.json @@ -6,22 +6,6 @@ { "_type": "map", "map": [ - [ - "tanoshii", - { - "_type": "map", - "map": [ - [ - "adj", - [ - "attributive", - "romanization", - "terminative" - ] - ] - ] - } - ], [ "楽しく", { @@ -124,6 +108,21 @@ ] } ], + [ + "tanoshii", + { + "_type": "map", + "map": [ + [ + "adj", + [ + "attributive", + "terminative" + ] + ] + ] + } + ], [ "楽しけれ", { @@ -720,20 +719,6 @@ { "_type": "map", "map": [ - [ - "suki", - { - "_type": "map", - "map": [ - [ - "adj", - [ - "romanization" - ] - ] - ] - } - ], [ "好きな", { @@ -1665,47 +1650,11 @@ ] } ], - [ - "狸", - { - "_type": "map", - "map": [ - [ - "tanuki", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ] - ] - } - ], [ "走る", { "_type": "map", "map": [ - [ - "hashiru", - { - "_type": "map", - "map": [ - [ - "verb", - [ - "romanization" - ] - ] - ] - } - ], [ "走り", { @@ -2747,34 +2696,6 @@ { "_type": "map", "map": [ - [ - "goshiki", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ], - [ - "gosiki", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ], [ "ごしき", { @@ -2789,34 +2710,6 @@ ] } ], - [ - "goshoku", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ], - [ - "gosyoku", - { - "_type": "map", - "map": [ - [ - "noun", - [ - "romanization" - ] - ] - ] - } - ], [ "ごしよく", { @@ -2833,28 +2726,6 @@ ] ] } - ], - [ - "お腹が空いた", - { - "_type": "map", - "map": [ - [ - "onaka ga suita", - { - "_type": "map", - "map": [ - [ - "phrase", - [ - "romanization" - ] - ] - ] - } - ] - ] - } ] ] } \ No newline at end of file