enable spoken punctuation

This commit is contained in:
Katharine Berry 2023-08-03 20:27:56 -07:00
parent 141910548a
commit 111011c643

View file

@ -68,6 +68,7 @@ def recognise():
'sample_rate_hertz': 16000, 'sample_rate_hertz': 16000,
'max_alternatives': 1, 'max_alternatives': 1,
'enableAutomaticPunctuation': True, 'enableAutomaticPunctuation': True,
'enableSpokenPunctuation': True,
'model': get_model_for_lang(lang), 'model': get_model_for_lang(lang),
# 'metadata': { # 'metadata': {
# 'interaction_type': 'DICTATION', # 'interaction_type': 'DICTATION',