java - Showing Confidence level for Alternatives -


i'm transcribing audio file speech api , shows confidence level top result. there field can add config json can see confidence levels of alternative results?

below have config right now(in python)

 config = types.recognitionconfig(     encoding=enums.recognitionconfig.audioencoding.flac,     sample_rate_hertz=44100,     language_code='en-us',     speech_contexts=[speech.types.speechcontext(         phrases=['low']     )]) 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -