ggml-org/whisper.cpp

Add function to get language title

Open

#535 opened on Feb 25, 2023

 (3 comments) (0 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

I can get the language short string (en) with whisper_lang_str, but it would be useful to also be able to get the language title (english). Currently, I have to duplicate this mapping in my own code.

I'm thinking a function called whisper_lang_title(int id).

Contributor guide