mirror of
https://github.com/h7x4/unofficial_jisho_api_dart.git
synced 2025-09-21 04:55:56 +02:00
Init
This commit is contained in:
100
test/phrase_scrape_test_cases/0.json
Normal file
100
test/phrase_scrape_test_cases/0.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"query": "車",
|
||||
"expectedResult": {
|
||||
"found": true,
|
||||
"query": "車",
|
||||
"uri": "https://jisho.org/word/%E8%BB%8A",
|
||||
"tags": [
|
||||
"Common word",
|
||||
"JLPT N5",
|
||||
"Wanikani level 4"
|
||||
],
|
||||
"meanings": [
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [
|
||||
{
|
||||
"english": "You cannot be too careful when you drive a car.",
|
||||
"japanese": "車を運転する時はいくら注意してもしすぎることはない。",
|
||||
"pieces": [
|
||||
{
|
||||
"lifted": "くるま",
|
||||
"unlifted": "車"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "を"
|
||||
},
|
||||
{
|
||||
"lifted": "うんてん",
|
||||
"unlifted": "運転"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "する"
|
||||
},
|
||||
{
|
||||
"lifted": "とき",
|
||||
"unlifted": "時"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "は"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "いくら"
|
||||
},
|
||||
{
|
||||
"lifted": "ちゅうい",
|
||||
"unlifted": "注意"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "して"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "も"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "しすぎる"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "こと"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "は"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "ない"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"definition": "car; automobile; vehicle",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"noun"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "wheel",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"noun"
|
||||
]
|
||||
}
|
||||
],
|
||||
"otherForms": [],
|
||||
"notes": []
|
||||
}
|
||||
}
|
40
test/phrase_scrape_test_cases/1.json
Normal file
40
test/phrase_scrape_test_cases/1.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"query": "日本人",
|
||||
"expectedResult": {
|
||||
"found": true,
|
||||
"query": "日本人",
|
||||
"uri": "https://jisho.org/word/%E6%97%A5%E6%9C%AC%E4%BA%BA",
|
||||
"tags": [
|
||||
"Common word"
|
||||
],
|
||||
"meanings": [
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "Japanese person; Japanese people",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"noun"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "Japanese people",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "The Japanese people are a nationality originating in the Japanese archipelago and are the predominant ethnic group of Japan. Worldwide, approximately 130 million people are of Japanese descent; of these, approximately 127 million are residents of Japan. People of Japanese ancestry who live in other countries are referred to as nikkeijin . The term ethnic Japanese may also be used in some contexts to refer to a locus of ethnic groups including the Yamato, Ainu and Ryukyuan people.",
|
||||
"tags": [
|
||||
"wikipedia definition"
|
||||
]
|
||||
}
|
||||
],
|
||||
"otherForms": [
|
||||
{
|
||||
"kanji": "日本人",
|
||||
"kana": "にっぽんじん"
|
||||
}
|
||||
],
|
||||
"notes": []
|
||||
}
|
||||
}
|
135
test/phrase_scrape_test_cases/2.json
Normal file
135
test/phrase_scrape_test_cases/2.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"query": "皆",
|
||||
"expectedResult": {
|
||||
"found": true,
|
||||
"query": "皆",
|
||||
"uri": "https://jisho.org/word/%E7%9A%86",
|
||||
"tags": [
|
||||
"Common word",
|
||||
"JLPT N5"
|
||||
],
|
||||
"meanings": [
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [
|
||||
{
|
||||
"english": "The people which were here have all gone.",
|
||||
"japanese": "ここにいた人々はみんな行ってしまった。",
|
||||
"pieces": [
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "ここ"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "に"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "いた"
|
||||
},
|
||||
{
|
||||
"lifted": "ひとびと",
|
||||
"unlifted": "人々"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "は"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "みんな"
|
||||
},
|
||||
{
|
||||
"lifted": "い",
|
||||
"unlifted": "行って"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "しまった"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"definition": "all; everyone; everybody",
|
||||
"supplemental": [
|
||||
"Usually written using kana alone"
|
||||
],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"adverb",
|
||||
"noun"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [
|
||||
{
|
||||
"english": "All the dinner had been eaten before he came.",
|
||||
"japanese": "ごちそうはみんな彼が来ないうちに食べられてしまった。",
|
||||
"pieces": [
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "ごちそう"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "は"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "みんな"
|
||||
},
|
||||
{
|
||||
"lifted": "かれ",
|
||||
"unlifted": "彼"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "が"
|
||||
},
|
||||
{
|
||||
"lifted": "らい",
|
||||
"unlifted": "来"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "ないうちに"
|
||||
},
|
||||
{
|
||||
"lifted": "た",
|
||||
"unlifted": "食べられて"
|
||||
},
|
||||
{
|
||||
"lifted": "",
|
||||
"unlifted": "しまった"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"definition": "everything",
|
||||
"supplemental": [
|
||||
"Usually written using kana alone"
|
||||
],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"adverb",
|
||||
"noun"
|
||||
]
|
||||
}
|
||||
],
|
||||
"otherForms": [
|
||||
{
|
||||
"kanji": "皆んな",
|
||||
"kana": "みんな"
|
||||
},
|
||||
{
|
||||
"kanji": "皆",
|
||||
"kana": "みな"
|
||||
}
|
||||
],
|
||||
"notes": [
|
||||
"皆んな: Irregular okurigana usage."
|
||||
]
|
||||
}
|
||||
}
|
69
test/phrase_scrape_test_cases/3.json
Normal file
69
test/phrase_scrape_test_cases/3.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"query": "ネガティブ",
|
||||
"expectedResult": {
|
||||
"found": true,
|
||||
"query": "ネガティブ",
|
||||
"uri": "https://jisho.org/word/%E3%83%8D%E3%82%AC%E3%83%86%E3%82%A3%E3%83%96",
|
||||
"tags": [
|
||||
"Common word"
|
||||
],
|
||||
"meanings": [
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "negative (e.g. thinking)",
|
||||
"supplemental": [
|
||||
"Antonym: ポジティブ"
|
||||
],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"na-adjective"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "negative (photography)",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"noun"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [
|
||||
"陰極"
|
||||
],
|
||||
"sentences": [],
|
||||
"definition": "negative (electrical polarity)",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "",
|
||||
"tags": [
|
||||
"noun"
|
||||
]
|
||||
},
|
||||
{
|
||||
"seeAlsoTerms": [],
|
||||
"sentences": [],
|
||||
"definition": "Negative (Finnish band)",
|
||||
"supplemental": [],
|
||||
"definitionAbstract": "Negative is a Finnish glam rock band founded at the end of 1997. Members of Negative cite musical influence such as Guns N' Roses, Queen, and Hanoi Rocks. The band itself labels the music as ”emotional rock’n roll”.",
|
||||
"tags": [
|
||||
"wikipedia definition"
|
||||
]
|
||||
}
|
||||
],
|
||||
"otherForms": [
|
||||
{
|
||||
"kanji": "ネガティヴ"
|
||||
},
|
||||
{
|
||||
"kanji": "ネガチブ"
|
||||
},
|
||||
{
|
||||
"kanji": "ネガチィブ"
|
||||
}
|
||||
],
|
||||
"notes": []
|
||||
}
|
||||
}
|
7
test/phrase_scrape_test_cases/4.json
Normal file
7
test/phrase_scrape_test_cases/4.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"query": "grlgmregmneriireg",
|
||||
"expectedResult": {
|
||||
"query": "grlgmregmneriireg",
|
||||
"found": false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user