ggml-org/whisper.cpp

can I enable "-dl" option and detect multiple languages (in one audio-clip)? Thanks!

オープン

#3,018 opened on 2025/04/08

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (6,072 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (52,942 個のスター)
PR merge metrics
 (平均マージ 5d 20h) (30d で 36 merged PRs)

説明

Hi,

I could run whisper-cli to detect language and it works great (as the following): whisper-cli -f ./jfk.wav -dl --model ./ggml-small.bin

it works great and I could get the auto-detected language (like the following)::

...
whisper_full_with_state: auto-detected language: en (p = 0.958143)
...

my question is: can I also use the same "-dl" option to detect a wav-file which has multiple languages? in this case will whisper-cli show 2 language-types (similar as the above, but show 2 language-types)? Thanks!

コントリビューターガイド