Skip to content

What is a language on Common Voice?

There are lots of ways to think about language. For the purposes of speech recognition models, Common Voice suggests focussing on ‘mutual intelligibility’, or ‘can speakers of this language mostly understand one another if they try to?’

We want speech models to be better at understanding a diverse range of speakers. For this to happen, a voice dataset must represent lots of different people.

Some languages have enormous variation in grammar, vocabulary and pronunciation. Variants give communities a way to distinguish their languages within the larger dataset.

The more people a single dataset includes, the better it is. Machines should understand how young and old people speak, how people of every gender speak, and how both first-language speakers and learners speak.

Term Meaning
Language A group of speakers who can understand each other (mutual intelligibility). It has to do with history and society as well as with linguistics.
Written language The way a language is written. Writing does not just reproduce speech; it has rules of its own. Communities that speak the same way can have different rules for writing.
Variant (or dialect) A way of speaking that a group of speakers identifies with, in vocabulary and grammar. Most variants follow a region. The differences may or may not show in writing.
Accent The same vocabulary and grammar, pronounced differently. A speaker can have more than one accent. Every speaker has an accent: it is variation within a language, not a departure from a standard.

The ISO 639-3 standard gives each language its own three-letter code. There are also older two-letter codes: English is en in two letters and eng in three.

Often one two-letter code covers several three-letter codes. ku (Kurdish) covers kmr (Northern Kurdish) and ckb (Central Kurdish). A language with its own three-letter code is likely to be a separate language on Common Voice. The choice stays with the community: Western Armenian has its own code, hyw, but the Armenian community chose to stay together under hy.

Look up codes in the ISO 639-3 code tables.

If speakers… Use Example
use different words for the same thing, in well-defined places a variant computadora in Mexico, ordenador in Spain; Valencian eixir and Catalan sortir, “to go out”
write the same way but pronounce words differently an accent route said “root” in British English and “rowt” in Canadian English
differ a lot in both spelling and pronunciation a variant Catalan huit in the west and vuit in the east, “eight”
write the language in a different script a variant Serbian река (Cyrillic) and reka (Latin), “river”; also Konkani, Punjabi, Crimean Tatar
use the same script but different spelling systems a variant Basaa “father”: ǹsaŋ in the new orthography, nsañ in the older one

Speakers who hear many varieties usually know the differences but use only their own. When the differences are large and well defined, a variant is worth creating.

Common Voice writes variants as BCP 47 tags, with up to four parts:

Part Form Standard Example
Language 2 or 3 letters, lowercase ISO 639 ig (Igbo), vot (Votic)
Script (optional) 4 letters, title case ISO 15924 Latn, Cyrl, Deva, Beng, Arab
Region (optional) 2 letters, uppercase ISO 3166 MX, ES
Variant (optional) 5 to 8 letters or digits, lowercase BCP 47 valencia, aranese, gascon

BCP 47 also allows a 4-character variant that starts with a digit, such as 1901. Variants such as valencia are registered in the IANA Language Subtag Registry. If your community’s variant is not registered, Common Voice takes a new token in the same form, chosen by the community; it is not a registered BCP 47 tag.

Leave out any part that adds nothing. English needs no Latn, because it is only written in Latin script. Valencian needs no ES, because it is only spoken in Spain. For a diaspora community, a region can matter.

Code Means
es-MX Spanish as spoken in Mexico
ca-valencia the Valencian variant of Catalan
sr-Latn-ijekavsk Serbian in Latin script, ijekavian variant (rijeka rather than reka)
rm-vallader the Vallader variant of Romansh
pa-Guru Punjabi in Gurmukhi script