8000 Language API by Macoron · Pull Request #7 · Macoron/whisper.unity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Language API #7

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

Merged
merged 6 commits into from
Apr 16, 2023
Merged

Language API #7

merged 6 commits into from
Apr 16, 2023

Conversation

Macoron
Copy link
Owner
@Macoron Macoron commented Apr 15, 2023

Adds bindings for language relevant functions. Most important are:

  • Check if model is multilingual using WhisperManager.IsMultilingual()
  • Get list of all whisper.cpp supported language WhisperLanguage.GetAllLanguages()
  • Get transcription language by WhisperResult.LanguageId or WhisperResult.Language

You can check all whisper.cpp supported languages on a new scene 3 - Languages:
Снимок экрана 2023-04-15 в 15 35 14

Example scenes was updated to also output detected language:
Снимок экрана 2023-04-15 в 15 34 54

@Macoron Macoron merged commit e15ed56 into master Apr 16, 2023
@Macoron Macoron deleted the language branch April 16, 2023 11:00
github-actions bot pushed a commit to GameWorkstore/whisper.unity that referenced this pull request Apr 2, 2024
* Port languages API

* whisper_full_lang_id in demos

* Is multilang check

* Modified demo

* Changed demos a bit

* Add rate calculation
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.

1 participant
0