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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -