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

Return top-k detected languages with probabilities #892

Open
danielmunioz opened this issue Oct 1, 2024 · 0 comments
Open

Return top-k detected languages with probabilities #892

danielmunioz opened this issue Oct 1, 2024 · 0 comments

Comments

@danielmunioz
Copy link

It'd be awesome if we can return the confidence score when detecting a language, something like:

{'segments': [{'text': ...}],
'languages': [{'en': 0.999} {'es': 0.0001}, ....]
}

@danielmunioz danielmunioz changed the title Return top detected languages with probabilities Return top-k detected languages with probabilities Oct 1, 2024
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

No branches or pull requests

1 participant