Skip to content

How to return one alternative (with highest confidence) without returning all the options? #829

@sapienza88

Description

@sapienza88

I want to expedite the recognition step which I use as follows:

self.recognizer.recognize_google(audio, language="English",show_all=False)

and returns many possibilities which I don't want.

I instead want to have one result (the one with highest confidence)

show_all=False doesn't actually do that

how to do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions