2
$\begingroup$

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?

$\endgroup$
2
  • $\begingroup$ If you are finding a tool, this question maybe off topic. @nbro $\endgroup$ Jan 4, 2020 at 11:54
  • $\begingroup$ No tool. A simple solution. $\endgroup$
    – Tina J
    Jan 4, 2020 at 17:06

1 Answer 1

1
$\begingroup$

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.

$\endgroup$
4
  • $\begingroup$ Yeah that I know. But then the problem of language detection still remains. $\endgroup$
    – Tina J
    Jan 2, 2020 at 23:24
  • 1
    $\begingroup$ Google translate can detect the langauge for you as well $\endgroup$
    – jgleoj23
    Jan 2, 2020 at 23:28
  • 1
    $\begingroup$ You can see a python example of this at pypi.org/project/googletrans $\endgroup$
    – jgleoj23
    Jan 2, 2020 at 23:28
  • $\begingroup$ Umm good. But something possibly non cloud. $\endgroup$
    – Tina J
    Jan 3, 2020 at 3:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .