Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to add a new function to get the full language name #1546

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

bradmit
Copy link
Contributor

@bradmit bradmit commented Nov 23, 2023

There is already a function there that retrieves the language id, but I'd like to also retrieve the full language name as well. I've added a separate function which is a basic copy of the existing one except it returns kv.second.second.c_str()

bradmit and others added 3 commits November 24, 2023 09:40
add whisper_lang_fullstr to retrieve the full language name
add whisper_lang_fullstr to return the full language name
@ggerganov ggerganov merged commit 34f70b3 into ggerganov:master Nov 24, 2023
35 of 39 checks passed
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
* Update whisper.h

add whisper_lang_fullstr to retrieve the full language name

* Update whisper.cpp

add whisper_lang_fullstr to return the full language name

* fullstr -> str_full

---------

Co-authored-by: Georgi Gerganov <[email protected]>
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
* Update whisper.h

add whisper_lang_fullstr to retrieve the full language name

* Update whisper.cpp

add whisper_lang_fullstr to return the full language name

* fullstr -> str_full

---------

Co-authored-by: Georgi Gerganov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants