Skip to content

What happens if the language isn't specified when using SpeechRecognition, and how to recognized multiple languages #208

Description

@padenot

Some models can detect the language spoken. Some models are multilingual, with the possibility to stipulate a set of expected languages.

What happens the doc has no language, and the language hasn't been stipulated? We could auto detect, but we would then need to report the language back.

I'm tying this to multilingual models because we also need to somehow attach a language post-init, to results. This is typically done underneath as special output tokens.

A similar but separate concern is how we'll represent diarization -- it should have the same API shape probably.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions