ggml-org/whisper.cpp

Add ability to limit auto-detection to a subset of languages

Open

#1,242 opened on Sep 2, 2023

 (5 comments) (3 reactions) (0 assignees)C++ (6,073 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (52,920 stars)
PR merge metrics
 (Avg merge 5d 20h) (36 merged PRs in 30d)

Description

From what I can tell, auto-detection simply picks the language with the highest probability score. Sometimes, I know the language could only be 1 out of 5 possible languages. In such cases, it would be useful to be able to specify the possible languages, to improve the likelyhood of the auto-detection picking the correct language.

Contributor guide