STT service improvements (#12453)
* [googlestt|voskstt] change default maxSilenceSeconds to 3 * [watsonstt] add singleUtterance mode, rename inativityTimeout to maxSilenceSeconds and minor improvements * [watsonstt] trim transcription Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@ public class VoskSTTConfiguration {
|
||||
* Only works when singleUtteranceMode is disabled, max seconds without getting new transcriptions to stop
|
||||
* listening.
|
||||
*/
|
||||
public int maxSilenceSeconds = 5;
|
||||
public int maxSilenceSeconds = 3;
|
||||
/**
|
||||
* Message to be told when no results.
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<label>Max Silence Seconds</label>
|
||||
<description>Only works when singleUtteranceMode is disabled, max seconds without getting new transcriptions to stop
|
||||
listening.</description>
|
||||
<default>5</default>
|
||||
<default>3</default>
|
||||
</parameter>
|
||||
<parameter name="preloadModel" type="boolean" groupName="stt">
|
||||
<label>Preload Model</label>
|
||||
|
||||
Reference in New Issue
Block a user