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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -