<p>Google has an API you can use. <a href="https://cloud.google.com/translate/" rel="nofollow noreferrer">https://cloud.google.com/translate/</a>. Their API can translate audio to text. They also have an API for converting speech to text. The language detection feature should let you detect the language in the resulting text. They have client libraries for the most popular programming languages. </p>

CC BY-SA 4.0
2020-01-02T23:24:17.167Z
Yeah that I know. But then the problem of language detection still remains.
Mary
CC BY-SA 4.0
2020-01-02T23:28:03.583Z
Google translate can detect the langauge for you as well
jgleoj23
CC BY-SA 4.0
2020-01-02T23:28:49.277Z
You can see a python example of this at https://pypi.org/project/googletrans/
jgleoj23
CC BY-SA 4.0
2020-01-03T03:58:15.327Z
Umm good. But something possibly non cloud.
Mary
CC BY-SA 4.0
2020-01-02T21:02:45.213Z
2020-01-02T21:02:45.213Z
jgleoj23
<p>Given an audio track, I'm trying to find a way to recognize the audio language. Only within a small set (e.g. English vs Spanish). Is there a simple solution to detect the language in a speech?</p>

CC BY-SA 4.0
2020-01-04T11:54:56.913Z
If you are finding a tool, this question maybe off topic. @nbro
Clement
CC BY-SA 4.0
2020-01-04T17:06:08.993Z
No tool. A simple solution.
Mary
<machine-learning><natural-language-processing><audio-processing><speech-recognition>
How to use AI for language recognition?
Mary
# How to use AI for language recognition?

(Asked by: username_0 on 2020-01-02)

Given an audio track, I'm trying to find a way to recognize the audio language. Only within a small set (e.g. English vs Spanish). Is there a simple solution to detect the language in a speech?

**Tags:** machine-learning, natural-language-processing, audio-processing, speech-recognition

> **Comments:**
> **username_1**: If you are finding a tool, this question maybe off topic. @nbro  
> **username_0**: No tool. A simple solution.  

---

## 1 answers

### Answer by username_2 on 2020-01-02. Score: 1

Google has an API you can use. <https://cloud.google.com/translate/>. Their API can translate audio to text. They also have an API for converting speech to text. The language detection feature should let you detect the language in the resulting text. They have client libraries for the most popular programming languages.

> **Comments:**
> **username_0**: Yeah that I know. But then the problem of language detection still remains.  
> **username_2**: Google translate can detect the langauge for you as well  
> **username_2**: You can see a python example of this at https://pypi.org/project/googletrans/  
> **username_0**: Umm good. But something possibly non cloud.  

---

