# Are some languages better for speech recognition than others?

**URL:** <https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948>\
**Category:** Factual Questions\
**Created:** [November 23, 2012, 11:45pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948 "2012-11-23T23:45:40Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Nava](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@Nava](https://boards.straightdope.com/u/Nava)\
**Post date:** [November 28, 2012, 9:49am UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/21 "2012-11-28T09:49:40Z")

</div>

> [@Hermitian](#):
>
> Why is everyone talking about spelling?
> 
> Maybe I’m the only one here, but I assumed speech recognition had nothing to do with spelling. I don’t think the program is trying to hear each letter, just certain combinations of adjacent phonemes that will translate to certain words or phrases.
> 
> If it hears an “f” sound, followed by an “ox” sound, it will use it’s algorithms to determine that that is equivalent to “fox” in english. It is not worried about the “f” sound being a “ph” because “phox” isn’t a word.

Because when a language has many “fixed” sounds, the amount of training needed for a given speaker is much lower than for languages which have messier phoneme-grapheme matches. A language with five vowel sounds which are always represented the same way, or one with eight vowel sounds which are always represented the same way, do not require training on vowel recognition: one with a dozen vowel sounds, any of which may be represented in several ways, some of which may in turn represent several of the vowel sounds, needs vowel-recognition training.

---

<div class="post-metadata">

**Author:** ![Quercus](https://avatars.discourse-cdn.com/v4/letter/q/7ab992/32.png) [@Quercus](https://boards.straightdope.com/u/Quercus)\
**Post date:** [November 28, 2012, 2:29pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/22 "2012-11-28T14:29:07Z")

</div>

> [@Nava](#):
>
> Because when a language has many “fixed” sounds, the amount of training needed for a given speaker is much lower than for languages which have messier phoneme-grapheme matches. A language with five vowel sounds which are always represented the same way, or one with eight vowel sounds which are always represented the same way, do not require training on vowel recognition: one with a dozen vowel sounds, any of which may be represented in several ways, some of which may in turn represent several of the vowel sounds, needs vowel-recognition training.

But aren’t you talking about either how many different phonemes there are in the language (which isn’t directly the same as how the sounds are represented), or how many different accents of that language exist in the real world?  
As an example of the first, the ‘f’ sound in English is pronounced maybe two ways but written something like five or six ways. And that shouldn’t be a problem for speech recognition (or even taking dictation); the program recognizes an ‘f’ sound, decides what word the speaker is trying to say, then looks up the spelling of the word to write ‘cough’. In English, without some knowledge of meaning, it might have trouble deciding whether the speaker means ‘ruff’ or ‘rough’, but that’s not connected with how the words are written.  
And for the second, for instance, we all agree that Spanish spelling is very regular (compared to English), in the sense that a given letter is usually pronounced the same way by the same speaker and vice versa. But a program might still need training to decide whether a written ‘s’ is pronounced like and English ‘s’ or English ‘th’ (i.e. Latin American or Castillian accent).

---

<div class="post-metadata">

**Author:** ![Nava](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@Nava](https://boards.straightdope.com/u/Nava)\
**Post date:** [November 28, 2012, 3:27pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/23 "2012-11-28T15:27:32Z")

</div>

But those are the few letters that are different: a recognition program needs vowel training in English, but not in Spanish - it needs a lot less total training - and the rules to match sounds to graphemes when a word is not in its list will vary slightly with dialect (that’s what the training is for), but there is actually very little need for a list. In English, you need a much longer list and much longer training, in order to teach a machine how to spell something knowing how a given person pronounces it. You know, same as for human beings…

Graphemes which do not change for a given speaker, in Spanish:

A B CH D E F G H I J K L LL M N Ñ O P Q RR T U V

Y has only one instance where it sounds as I does; R changes, but it’s due to a spelling rule (at the beginning of a word it sounds like RR does; elsewhere they sound different). Now come up with a list like that for English… you get a ton more graphemes, for starters!

---

<div class="post-metadata">

**Author:** ![Quercus](https://avatars.discourse-cdn.com/v4/letter/q/7ab992/32.png) [@Quercus](https://boards.straightdope.com/u/Quercus)\
**Post date:** [November 28, 2012, 6:53pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/24 "2012-11-28T18:53:18Z")

</div>

> [@Nava](#):
>
> But those are the few letters that are different: a recognition program needs vowel training in English, but not in Spanish - it needs a lot less total training - and the rules to match sounds to graphemes when a word is not in its list will vary slightly with dialect (that’s what the training is for), but there is actually very little need for a list. In English, you need a much longer list and much longer training, in order to teach a machine how to spell something knowing how a given person pronounces it. You know, same as for human beings…
> 
> Graphemes which do not change for a given speaker, in Spanish:
> 
> A B CH D E F G H I J K L LL M N Ñ O P Q RR T U V
> 
> Y has only one instance where it sounds as I does; R changes, but it’s due to a spelling rule (at the beginning of a word it sounds like RR does; elsewhere they sound different). Now come up with a list like that for English… you get a ton more graphemes, for starters!

Maybe we’re disagreeing on what ‘speech recognition’ means? I understand it to mean ‘able to extract information from speech’, in which case knowing how to write the words is pretty much meaningless (except perhaps at the margin if you have an unfamiliar word and a dictionary arranged by conventional spelling). After all, humans can (and you have at one early point in your life) been able to carry on a meaningful conversation without any clue how to write the words.  
If you’re definition of ‘speech recognition’ is just taking dictation (that’s not going to be very accurate because meaning isn’t used to correct errors), then maybe your points make sense.

---

<div class="post-metadata">

**Author:** ![Freakenstein](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@Freakenstein](https://boards.straightdope.com/u/Freakenstein)\
**Post date:** [November 28, 2012, 7:48pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/25 "2012-11-28T19:48:03Z")

</div>

> [@Quercus](#):
>
> Maybe we’re disagreeing on what ‘speech recognition’ means?

I’ve been thinking this too.  
So how about My previous examples of Finnish words ‘Tuli’, ‘Tuuli’ and ‘Tulli’. You could get a Finn to say these words in different speeds, with slacking jaw, twisting his face or whatever. Other Finns still wouldn’t be confused which word he’s trying to say.  
One could get some wrong answers with changing the speed in the middle of a word, like saying ‘Tu-’ slowly and ‘-li’ fast, then some _might_ think he’s saying ‘Tuuli’ instead of ‘Tuli’.  
I think a language like that would be quite easy for speech recognition.  
Or maybe I’m way off - see next:

> [@Huvudtvatt](#):
>
> One of the problems with speech recognition in Finnish is that it is a compund language where it is possible to build thousands of words from one root.

You have no idea. Theoretically every verb could be inflected in ways that the word in writing could literally end up being infinitely long…

---

<div class="post-metadata">

**Author:** ![Hermitian](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hermitian/32/470_2.png) [@Hermitian](https://boards.straightdope.com/u/Hermitian)\
**Post date:** [November 28, 2012, 7:53pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/26 "2012-11-28T19:53:08Z")

</div>

> [@Nava](#):
>
> But those are the few letters that are different: a recognition program needs vowel training in English, but not in Spanish - it needs a lot less total training - and the rules to match sounds to graphemes when a word is not in its list will vary slightly with dialect (that’s what the training is for), but there is actually very little need for a list. In English, you need a much longer list and much longer training, in order to teach a machine how to spell something knowing how a given person pronounces it. You know, same as for human beings…
> 
> Graphemes which do not change for a given speaker, in Spanish:
> 
> A B CH D E F G H I J K L LL M N Ñ O P Q RR T U V
> 
> Y has only one instance where it sounds as I does; R changes, but it’s due to a spelling rule (at the beginning of a word it sounds like RR does; elsewhere they sound different). Now come up with a list like that for English… you get a ton more graphemes, for starters!

Even considering dictation, we are obviously approaching this differently.

In a simplistic way I imagine speech recognition to dictation as happening like this:

1. Joe says one word into microphone.
2. Computer records sonic waveform of word.
3. Using sophisicated statistical analysis, the computer decides that the waveform most resembles entry #65852 in it’s waveform repository.
4. Computer looks up how to spell waveform #65852 - it is spelled “dog.”
5. Computer outputs “dog” on the screen.
6. Joe is happy.

Notice that the computer doesn’t care one bit about English spelling. If it’s lookup table said that waveform #65852 was spell like “ibkofhik” then that is what the computer would output. No sound to letter equivalents are relevant.

---

<div class="post-metadata">

**Author:** ![Ximenean](https://avatars.discourse-cdn.com/v4/letter/x/aca169/32.png) [@Ximenean](https://boards.straightdope.com/u/Ximenean)\
**Post date:** [November 28, 2012, 8:59pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/27 "2012-11-28T20:59:22Z")

</div>

> [@Hermitian](#):
>
> Even considering dictation, we are obviously approaching this differently.
> 
> In a simplistic way I imagine speech recognition to dictation as happening like this:
> 
> 1. Joe says one word into microphone.
> 2. Computer records sonic waveform of word.
> 3. Using sophisicated statistical analysis, the computer decides that the waveform most resembles entry #65852 in it’s waveform repository.
> 4. Computer looks up how to spell waveform #65852 - it is spelled “dog.”
> 5. Computer outputs “dog” on the screen.
> 6. Joe is happy.
> 
> Notice that the computer doesn’t care one bit about English spelling. If it’s lookup table said that waveform #65852 was spell like “ibkofhik” then that is what the computer would output. No sound to letter equivalents are relevant.

I agree that spelling regularity is irrelevant when it comes to the recognition of words, but it could be useful in dictation. “Dog” is easy because it doesn’t have any homophones, that I can think of. But what if the word is “right”? The computer looks up waveform #65853 and finds four spellings associated with it, “right”, “write”, “rite”, and “wright”. Which one to use?  
In a regularised written English, they would all be spelled “rite” or something. It wouldn’t help comprehension at all, of course.

---

<div class="post-metadata">

**Author:** ![KneadToKnow](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kneadtoknow/32/3999_2.png) [@KneadToKnow](https://boards.straightdope.com/u/KneadToKnow)\
**Post date:** [November 28, 2012, 9:20pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/28 "2012-11-28T21:20:14Z")

</div>

> [@clairobscur](#):
>
> Spanish is quite straightforward. I’m sure there are some exceptions, but a word is normally pronounced the way it’s written (as opposed to English, French, Russian…)

Obligatory Steve Martin reference.

“Casa. Pepe. Casa de Pepe.”

---

<div class="post-metadata">

**Author:** ![Tim\_T-Bonham.net](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@Tim\_T-Bonham.net](https://boards.straightdope.com/u/Tim_T-Bonham.net)\
**Post date:** [November 28, 2012, 9:34pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/29 "2012-11-28T21:34:17Z")

</div>

> [@Hermitian](#):
>
> In a simplistic way I imagine speech recognition to dictation as happening like this:
> 
> 1. Joe says one word into microphone.
> 2. Computer records sonic waveform of word.
> 3. Using sophisicated statistical analysis, the computer decides that the waveform most resembles entry #65852 in it’s waveform repository.
> 4. Computer looks up how to spell waveform #65852 - it is spelled “dog.”
> 5. Computer outputs “dog” on the screen.
> 6. Joe is happy.

This simplistic way is glossing over one of the major problems in speech recognition.  
" Joe says one word…" – but people don’t talk one word at a time, they talk in phrases and run their words together. A significant problem in speech recognition is identifying where one word stops and another starts. It is still an issue in such programs. Early speech recognition programs handled this by requiring users to speak. one. word. at. a. time., but people generally refused to use such programs.

Another problem is in “the waveform most resembles entry…”. There are very significant differences in the waveforms from different speakers, sometimes more difference than between different words. Compare the clipped northern “dog” to the drawled southern “dawg”, for example. Most speech recognition programs require a period of ‘training’ to accurately recognize a specific voice, and re-training for another voice.

---

<div class="post-metadata">

**Author:** ![Hermitian](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hermitian/32/470_2.png) [@Hermitian](https://boards.straightdope.com/u/Hermitian)\
**Post date:** [November 28, 2012, 9:56pm UTC](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948/30 "2012-11-28T21:56:25Z")

</div>

> [@t-bonham@scc.net](#):
>
> This simplistic way is glossing over one of the major problems in speech recognition.  
> " Joe says one word…" – but people don’t talk one word at a time, they talk in phrases and run their words together. A significant problem in speech recognition is identifying where one word stops and another starts. It is still an issue in such programs. Early speech recognition programs handled this by requiring users to speak. one. word. at. a. time., but people generally refused to use such programs.
> 
> Another problem is in “the waveform most resembles entry…”. There are very significant differences in the waveforms from different speakers, sometimes more difference than between different words. Compare the clipped northern “dog” to the drawled southern “dawg”, for example. Most speech recognition programs require a period of ‘training’ to accurately recognize a specific voice, and re-training for another voice.

I completely agree with those.

I was just trying to convey that the program is not struggling to “spell out” words letter by letter by listening to the sounds. It does its best to match sounds to words, despite the fact that people DO slur words together and talk differently.

However, **Ximenean** is right in that homophones are a distinct difficulty that they have to solve (or guess) by context.

[Previous page](https://boards.straightdope.com/t/are-some-languages-better-for-speech-recognition-than-others/641948.md?page=1)
