Repository navigation
Conversation
Add cs_cz to the generator's locales and to the languages whose untranslated names are dropped, and generate the Czech names from Minecraft 26.1.2's cs_cz file: 1874 names, 3 left in English dropped (Podzol, Sculk, TNT).
Add Czech to the languages (after English: up to 3 words, longer names skipped, prompt biasing on) and compare its names word by word with Czech sound-alike rules: i/y and u/ů alike, vowel length ignored, ě said je after b/p/v/f and ňe after m (mě = mně), d/t/n soft before ě/i, voiced consonants devoiced at the end of a word (Chléb = Chlép), and č, š, ž, ř, ň, ď, ť, ch kept apart from the plain letters, so Hruška, Jablka and Červená vlna are still wrong. Whisper's Czech subtitle credits count as noise. Czech names are said by a cs-CZ voice, a right answer shows "Správně!", and the mod description lists Czech.
Check Czech answers against the bundled names: the exact name, case and punctuation, each sound rule (y/i, ů/u, vowel length, vě = vje, mě = mňe, ně = ňe, soft di, a final b/v/z losing its voice), words run together or split, and accents left out as with the other languages. Hruška, Jablka and Červená vlna are still wrong, and Whisper's Czech subtitle credit counts as noise. Czech picks the cs-CZ voice and borrows none, and Bosnian still picks the Croatian voice over it. The voice check says "Jablko", and the game test's scripted voices include a cs-CZ one.
Add 15 Czech samples to the speech check, said by the two Czech neural voices in turn: 12 names with the exact text of the bundled cs_cz names, and 3 that must fail (Hruška, a wrong word; Jablka, the plural; Červená vlna, the wrong colour). The third Linux job checks cs_cz along with Japanese, Bosnian, Portuguese and Vietnamese. The survey's Vietnamese round makes way for a Czech one (8 names and 3 wrong answers, medium model) to see how well Whisper hears Czech. Its numbers for the README come from these workflow runs. The release notes list Czech among the languages.
List Czech in the README (intro, languages and voices tables, config values, word-by-word matching with its sound rules, the languages whose English leftovers are dropped), INSTALL.md, the notices and the changelog. Czech stays out of the measured accuracy table until the speech workflow has run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Czech language. Tested on a native Czech speaker.