Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cs] update example with newest kaikki format #102

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/test/dict/cs/en/term_bank_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""
],
[
"pro [+accusative]",
"pro",
"",
"prep",
"prep",
Expand Down
4 changes: 2 additions & 2 deletions data/test/ipa/cs/en/term_meta_bank_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
}
],
[
"pro [+accusative]",
"pro",
"ipa",
{
"reading": "pro [+accusative]",
"reading": "pro",
"transcriptions": [
{
"ipa": "[ˈpro]",
Expand Down
2 changes: 1 addition & 1 deletion data/test/kaikki/cs-en.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"pos": "noun", "head_templates": [{"name": "cs-noun", "args": {"1": "f"}, "expansion": "zpráva f"}], "inflection_templates": [{"name": "cs-ndecl", "args": {"1": "f"}}], "forms": [{"form": "no-table-tags", "source": "declension", "tags": ["table-tags"]}, {"form": "cs-ndecl", "source": "declension", "tags": ["inflection-template"]}, {"form": "zpráva", "tags": ["nominative", "singular"], "source": "declension"}, {"form": "zprávy", "tags": ["nominative", "plural"], "source": "declension"}, {"form": "zprávy", "tags": ["genitive", "singular"], "source": "declension"}, {"form": "zpráv", "tags": ["genitive", "plural"], "source": "declension"}, {"form": "zprávě", "tags": ["dative", "singular"], "source": "declension"}, {"form": "zprávám", "tags": ["dative", "plural"], "source": "declension"}, {"form": "zprávu", "tags": ["accusative", "singular"], "source": "declension"}, {"form": "zprávy", "tags": ["accusative", "plural"], "source": "declension"}, {"form": "zprávo", "tags": ["singular", "vocative"], "source": "declension"}, {"form": "zprávy", "tags": ["plural", "vocative"], "source": "declension"}, {"form": "zprávě", "tags": ["locative", "singular"], "source": "declension"}, {"form": "zprávách", "tags": ["locative", "plural"], "source": "declension"}, {"form": "zprávou", "tags": ["instrumental", "singular"], "source": "declension"}, {"form": "zprávami", "tags": ["instrumental", "plural"], "source": "declension"}], "sounds": [{"ipa": "[ˈspraːva]"}, {"homophone": "správa"}, {"audio": "Cs-zpráva.ogg", "text": "audio", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/1/1a/Cs-zpr%C3%A1va.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/1/1a/Cs-zpr%C3%A1va.ogg/Cs-zpr%C3%A1va.ogg.mp3"}], "etymology_text": "Deverbal from zpravit.", "etymology_templates": [{"name": "deverbal", "args": {"1": "cs", "2": "zpravit"}, "expansion": "Deverbal from zpravit"}], "word": "zpráva", "lang": "Czech", "lang_code": "cs", "derived": [{"tags": ["feminine"], "word": "výroční zpráva", "_dis1": "0 0"}], "related": [{"tags": ["masculine"], "word": "zpravodaj", "_dis1": "0 0"}, {"tags": ["neuter"], "word": "poselství", "_dis1": "0 0"}], "senses": [{"examples": [{"text": "textová zpráva", "english": "text message", "type": "example"}, {"text": "Chcete nechat zprávu?", "english": "Would you like to leave a message?", "type": "example"}], "links": [["message", "message"]], "glosses": ["message"], "tags": ["feminine"], "id": "en-zpráva-cs-noun-q1MKE-RZ", "categories": [{"name": "Czech terms with collocations", "kind": "other", "parents": ["Terms with collocations", "Entry maintenance"], "source": "w"}, {"name": "Czech deverbals", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "52 48"}, {"name": "Czech entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "46 54"}, {"name": "Communication", "kind": "topical", "parents": ["All topics", "Fundamental"], "source": "w+disamb", "orig": "cs:Communication", "langcode": "cs", "_dis": "90 10"}]}, {"examples": [{"text": "lékařská zpráva", "english": "medical report", "type": "example"}, {"text": "podat zprávu", "english": "to file a report", "type": "example"}], "links": [["report", "report"]], "glosses": ["report"], "tags": ["feminine"], "id": "en-zpráva-cs-noun-hF6RgxMZ", "categories": [{"name": "Czech terms with collocations", "kind": "other", "parents": ["Terms with collocations", "Entry maintenance"], "source": "w"}, {"name": "Czech deverbals", "kind": "other", "parents": [], "source": "w+disamb", "_dis": "52 48"}, {"name": "Czech entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "46 54"}]}]}
{"pos": "prep", "head_templates": [{"name": "head", "args": {"1": "cs", "2": "preposition"}, "expansion": "pro"}], "forms": [{"form": "pro [+accusative]", "tags": ["canonical"]}], "etymology_number": 1, "etymology_text": "Inherited from Old Czech pro, from Proto-Slavic *pro.", "etymology_templates": [{"name": "glossary", "args": {"1": "Inherited"}, "expansion": "Inherited"}, {"name": "inh", "args": {"1": "cs", "2": "zlw-ocs", "3": "pro", "4": "", "5": "", "lit": "", "pos": "", "tr": "", "ts": "", "id": "", "sc": "", "g": "", "g2": "", "g3": "", "nocat": "", "sort": ""}, "expansion": "Old Czech pro"}, {"name": "inh+", "args": {"1": "cs", "2": "zlw-ocs", "3": "pro"}, "expansion": "Inherited from Old Czech pro"}, {"name": "inh", "args": {"1": "cs", "2": "sla-pro", "3": "*pro"}, "expansion": "Proto-Slavic *pro"}], "word": "pro", "lang": "Czech", "lang_code": "cs", "sounds": [{"ipa": "[ˈpro]"}, {"audio": "Cs-pro.ogg", "text": "audio", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/f/f5/Cs-pro.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/f/f5/Cs-pro.ogg/Cs-pro.ogg.mp3"}], "senses": [{"examples": [{"text": "Zabili ho pro peníze.", "english": "They killed him for his money.", "type": "example"}], "links": [["for", "for"]], "glosses": ["for"], "id": "en-pro-cs-prep-EMIrz0x2", "categories": [{"name": "Czech prepositions", "kind": "other", "parents": [], "source": "w+disamb"}]}]}
{"pos": "prep", "info_templates": [{"args": {"1": "cs", "2": "accusative"}, "name": "+obj", "extra_data": {"tags": ["accusative"]}, "expansion": "[+accusative]"}], "head_templates": [{"name": "head", "args": {"1": "cs", "2": "preposition"}, "expansion": "pro"}], "etymology_number": 1, "etymology_text": "Inherited from Old Czech pro, from Proto-Slavic *pro.", "etymology_templates": [{"name": "glossary", "args": {"1": "Inherited"}, "expansion": "Inherited"}, {"name": "inh", "args": {"1": "cs", "2": "zlw-ocs", "3": "pro", "4": "", "5": "", "lit": "", "pos": "", "tr": "", "ts": "", "id": "", "sc": "", "g": "", "g2": "", "g3": "", "nocat": "", "sort": ""}, "expansion": "Old Czech pro"}, {"name": "inh+", "args": {"1": "cs", "2": "zlw-ocs", "3": "pro"}, "expansion": "Inherited from Old Czech pro"}, {"name": "inh", "args": {"1": "cs", "2": "sla-pro", "3": "*pro"}, "expansion": "Proto-Slavic *pro"}], "word": "pro", "lang": "Czech", "lang_code": "cs", "sounds": [{"ipa": "[ˈpro]"}, {"audio": "Cs-pro.ogg", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/f/f5/Cs-pro.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/f/f5/Cs-pro.ogg/Cs-pro.ogg.mp3"}], "senses": [{"examples": [{"text": "Zabili ho pro peníze.", "english": "They killed him for his money.", "type": "example"}], "links": [["for", "for"]], "glosses": ["for"], "id": "en-pro-cs-prep-EMIrz0x2", "categories": [{"name": "Czech prepositions", "kind": "other", "parents": [], "source": "w+disamb"}]}]}
{"pos": "verb", "head_templates": [{"name": "cs-verb", "args": {"a": "impf"}, "expansion": "přít impf"}], "inflection_templates": [{"name": "cs-conj-forms", "args": {"pf 1s": "přu", "pf 3s": "pře", "pf 3p": "přou", "im 2s": "při", "im 1p": "přeme", "im 2p": "přete", "past ms": "přel", "tr1 pres": "pře", "tr2 pres": "příc", "tr1 pres2": "pra", "tr2 pres2": "prouc", "aspect": "i"}}], "forms": [{"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "cs-conj-forms\n", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "přít", "tags": ["infinitive"], "source": "conjugation"}, {"form": "příti", "tags": ["infinitive"], "source": "conjugation"}, {"form": "přící", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "proucí", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "-", "tags": ["noun-from-verb"], "source": "conjugation"}, {"form": "-", "tags": ["error-unrecognized-form"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "cs-conj-forms\n", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "přu", "tags": ["first-person", "indicative", "present", "singular"], "source": "conjugation"}, {"form": "přeme", "tags": ["first-person", "indicative", "plural", "present"], "source": "conjugation"}, {"form": "-", "tags": ["first-person", "imperative", "present", "singular"], "source": "conjugation"}, {"form": "přeme", "tags": ["first-person", "imperative", "plural", "present"], "source": "conjugation"}, {"form": "přeš", "tags": ["indicative", "present", "second-person", "singular"], "source": "conjugation"}, {"form": "přete", "tags": ["indicative", "plural", "present", "second-person"], "source": "conjugation"}, {"form": "při", "tags": ["imperative", "present", "second-person", "singular"], "source": "conjugation"}, {"form": "přete", "tags": ["imperative", "plural", "present", "second-person"], "source": "conjugation"}, {"form": "pře", "tags": ["indicative", "present", "singular", "third-person"], "source": "conjugation"}, {"form": "přou", "tags": ["indicative", "plural", "present", "third-person"], "source": "conjugation"}, {"form": "-", "tags": ["imperative", "present", "singular", "third-person"], "source": "conjugation"}, {"form": "-", "tags": ["imperative", "plural", "present", "third-person"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "cs-conj-forms\n", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "přel", "tags": ["animate", "masculine", "participle", "past", "singular"], "source": "conjugation"}, {"form": "přeli", "tags": ["animate", "masculine", "participle", "past", "plural"], "source": "conjugation"}, {"form": "-", "tags": ["animate", "masculine", "participle", "passive", "singular"], "source": "conjugation"}, {"form": "-", "tags": ["animate", "masculine", "participle", "passive", "plural"], "source": "conjugation"}, {"form": "přel", "tags": ["inanimate", "masculine", "participle", "past", "singular"], "source": "conjugation"}, {"form": "přely", "tags": ["inanimate", "masculine", "participle", "past", "plural"], "source": "conjugation"}, {"form": "-", "tags": ["inanimate", "masculine", "participle", "passive", "singular"], "source": "conjugation"}, {"form": "-", "tags": ["inanimate", "masculine", "participle", "passive", "plural"], "source": "conjugation"}, {"form": "přela", "tags": ["feminine", "participle", "past", "singular"], "source": "conjugation"}, {"form": "přely", "tags": ["feminine", "participle", "past", "plural"], "source": "conjugation"}, {"form": "-", "tags": ["feminine", "participle", "passive", "singular"], "source": "conjugation"}, {"form": "-", "tags": ["feminine", "participle", "passive", "plural"], "source": "conjugation"}, {"form": "přelo", "tags": ["neuter", "participle", "past", "singular"], "source": "conjugation"}, {"form": "přela", "tags": ["neuter", "participle", "past", "plural"], "source": "conjugation"}, {"form": "-", "tags": ["neuter", "participle", "passive", "singular"], "source": "conjugation"}, {"form": "-", "tags": ["neuter", "participle", "passive", "plural"], "source": "conjugation"}, {"form": "no-table-tags", "source": "conjugation", "tags": ["table-tags"]}, {"form": "cs-conj-forms\n", "source": "conjugation", "tags": ["inflection-template"]}, {"form": "pře", "tags": ["masculine", "present", "singular", "transgressive"], "source": "conjugation"}, {"form": "pra", "tags": ["masculine", "present", "singular", "transgressive"], "source": "conjugation"}, {"form": "-", "tags": ["masculine", "past", "singular", "transgressive"], "source": "conjugation"}, {"form": "příc", "tags": ["feminine", "neuter", "present", "singular", "transgressive"], "source": "conjugation"}, {"form": "prouc", "tags": ["feminine", "neuter", "present", "singular", "transgressive"], "source": "conjugation"}, {"form": "-", "tags": ["feminine", "neuter", "past", "singular", "transgressive"], "source": "conjugation"}, {"form": "příce", "tags": ["plural", "present", "transgressive"], "source": "conjugation"}, {"form": "prouce", "tags": ["plural", "present", "transgressive"], "source": "conjugation"}, {"form": "-", "tags": ["past", "plural", "transgressive"], "source": "conjugation"}], "sounds": [{"ipa": "[ˈpr̝̊iːt]"}, {"rhymes": "-iːt"}, {"audio": "Cs-přít.ogg", "text": "Audio", "ogg_url": "https://upload.wikimedia.org/wikipedia/commons/d/de/Cs-p%C5%99%C3%ADt.ogg", "mp3_url": "https://upload.wikimedia.org/wikipedia/commons/transcoded/d/de/Cs-p%C5%99%C3%ADt.ogg/Cs-p%C5%99%C3%ADt.ogg.mp3"}], "hyphenation": ["přít"], "etymology_text": "Inherited from Old Czech přieti, from Proto-Slavic *pьrěti.", "etymology_templates": [{"name": "glossary", "args": {"1": "Inherited"}, "expansion": "Inherited"}, {"name": "inh", "args": {"1": "cs", "2": "zlw-ocs", "3": "přieti", "4": "", "5": "", "lit": "", "pos": "", "tr": "", "ts": "", "id": "", "sc": "", "g": "", "g2": "", "g3": "", "nocat": "", "sort": ""}, "expansion": "Old Czech přieti"}, {"name": "inh+", "args": {"1": "cs", "2": "zlw-ocs", "3": "přieti"}, "expansion": "Inherited from Old Czech přieti"}, {"name": "inh", "args": {"1": "cs", "2": "sla-pro", "3": "*pьrěti"}, "expansion": "Proto-Slavic *pьrěti"}], "word": "přít", "lang": "Czech", "lang_code": "cs", "senses": [{"links": [["se", "se#Czech"], ["dispute", "dispute"]], "raw_glosses": ["(reflexive with se) to dispute"], "glosses": ["to dispute"], "tags": ["imperfective", "reflexive"], "raw_tags": ["with se"], "id": "en-přít-cs-verb-vT3NndXe", "categories": [{"name": "Czech entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w"}], "derived": [{"word": "pře"}, {"word": "rozepře"}, {"word": "odepřít"}, {"word": "opřít"}, {"word": "podepřít"}, {"word": "popřít"}, {"word": "upřít"}, {"word": "zapřít"}], "related": [{"word": "hádat se"}, {"word": "nesouhlasit"}]}]}
{"pos": "verb", "head_templates": [{"name": "head", "args": {"1": "cs", "2": "participle form"}, "expansion": "přela"}], "word": "přela", "lang": "Czech", "lang_code": "cs", "sounds": [{"ipa": "[ˈpr̝̊ɛla]"}], "senses": [{"links": [["přít", "přít#Czech"]], "raw_glosses": ["inflection of přít:\n"], "glosses": ["inflection of přít:\n## feminine singular past active participle\n## neuter plural past active participle", "feminine singular past active participle"], "form_of": [{"word": "přít"}], "tags": ["active", "feminine", "form-of", "participle", "past", "singular"], "id": "en-přela-cs-verb-1C-Pyuh1", "categories": [{"name": "Czech entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "49 51"}]}, {"links": [["přít", "přít#Czech"]], "raw_glosses": ["inflection of přít:\n"], "glosses": ["inflection of přít:\n## feminine singular past active participle\n## neuter plural past active participle", "neuter plural past active participle"], "form_of": [{"word": "přít"}], "tags": ["active", "form-of", "neuter", "participle", "past", "plural"], "id": "en-přela-cs-verb-KlPg-Rv~", "categories": [{"name": "Czech entries with incorrect language header", "kind": "other", "parents": ["Entries with incorrect language header", "Entry maintenance"], "source": "w+disamb", "_dis": "49 51"}]}]}
4 changes: 2 additions & 2 deletions data/test/tidy/cs-en-lemmas.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
}
},
"pro [+accusative]": {
"pro [+accusative]": {
"pro": {
"pro": {
"prep": {
"ipa": [
{
Expand Down
Loading