这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rosiaruuretto
Copy link

Enable more customization of the SpeechToText behavioiur:

$PREFIX/libexec/termux-api SpeechToText --es android.speech.extra.LANGUAGE fr-FR --ei android.speech.extra.MAX_RESULTS 1 --ez android.speech.extra.PARTIAL_RESULTS false

Additionally, the original behaviour where the speech recognition ends on speech end is retained only when "android.speech.extra.PARTIAL_RESULTS" is set to true, otherwise the behaviour is to wait for the final recognition results.

This notably enables customizing the speech recognition language and
partial recognition
@rosiaruuretto rosiaruuretto deleted the pr branch June 14, 2022 11:43
@Benjamin-Loison
Copy link

For reference this PR was re-open as #523.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants