Skip to content
← Back to activity

Public problem

Rev AI transcription with wrong language parameter - no error, just bad results

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

If I set the language parameter to en but the audio is actually in Spanish, what happens? Do I get an error, or just poor confidence scores? I tried the same audio file with a smaller chunk size and the error persisted. The file plays fine locally, so it is not corrupt.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

The API will not throw an error on a language mismatch. It attempts recognition using the language you specify, so with en set on Spanish audio you get very low confidence scores and a transcript that is mostly word salad. If your audio is not English, set the language parameter to match it and you will get a usable result. Source: https://github.com/revdotcom/revai-python-sdk/issues/71