Skip to content

Commit

Permalink
start adding yomitan format testing
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Jan 25, 2024
1 parent 6137daf commit dc04e10
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ for target_lang in "${languages[@]}"; do


if [ ! -f "$filepath" ] || [ "$redownload" = true ]; then
url="https://kaikki.org/dictionary/$language/$filename"
url="kaikki.org/dictionary/$language/$filename"
echo "Downloading $filename from $url"
wget "$url" -O "$filepath"
else
Expand Down
1 change: 1 addition & 0 deletions data/test/kaikki/en-en.json

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions data/test/tidy/en-en-forms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"brings": {
"bring": {
"verb": [
"-automated- third-person singular present"
]
}
},
"bringing": {
"bring": {
"verb": [
"-automated- present participle"
]
}
},
"brought": {
"bring": {
"verb": [
"-automated- past",
"-automated- past participle"
]
}
},
"broughten": {
"bring": {
"verb": [
"-automated- past participle rare dialectal"
]
}
}
}
66 changes: 66 additions & 0 deletions data/test/tidy/en-en-lemmas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"bring": {
"verb": {
"ipa": [
{
"ipa": "/ˈbɹɪŋ/",
"tags": []
}
],
"senses": [
{
"glosses": [
"(transitive, ditransitive) To transport toward somebody/somewhere."
],
"tags": [
"ditransitive",
"transitive"
]
},
{
"glosses": [
"(transitive, figuratively) To supply or contribute."
],
"tags": [
"figuratively",
"transitive"
]
},
{
"glosses": [
"(transitive) To occasion or bring about."
],
"tags": [
"transitive"
]
},
{
"glosses": [
"(transitive) To raise (a lawsuit, charges, etc.) against somebody."
],
"tags": [
"transitive"
]
},
{
"glosses": [
"To persuade; to induce; to draw; to lead; to guide."
],
"tags": []
},
{
"glosses": [
"To produce in exchange; to sell for; to fetch."
],
"tags": []
},
{
"glosses": [
"(baseball) To pitch, often referring to a particularly hard thrown fastball."
],
"tags": []
}
]
}
}
}

0 comments on commit dc04e10

Please sign in to comment.