From 5eaddd1af1bef0dd2195e104f87e7cf6284838ff Mon Sep 17 00:00:00 2001 From: lolodomo Date: Mon, 16 May 2022 19:16:23 +0200 Subject: [PATCH] [voskstt] Update the description of the preloadModel parameter (#12749) * [voskstt] Update the description of the preloadModel parameter Signed-off-by: Laurent Garnier --- .../src/main/resources/OH-INF/config/config.xml | 7 ++++--- .../src/main/resources/OH-INF/i18n/voskstt.properties | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml index 1a6e37c1c28..27531c2fcd4 100644 --- a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml @@ -31,9 +31,10 @@ - Keep language model loaded. If true model is just reload the model on config updates, if not model will - be loaded and offloaded on each execution. It will fallback to try to load the model when executed if it was not - able to load it before. + Keep the language model loaded. If the parameter is set to true, the model will be reloaded only on + configuration updates. If the model is not loaded when needed, the service will try to load it. If the parameter is + set to false, the model will be loaded and unloaded on each run. + false diff --git a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/i18n/voskstt.properties b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/i18n/voskstt.properties index 952f0783740..85f27910601 100644 --- a/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/i18n/voskstt.properties +++ b/bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/i18n/voskstt.properties @@ -11,7 +11,7 @@ voice.config.voskstt.maxTranscriptionSeconds.description = Max seconds to wait t voice.config.voskstt.noResultsMessage.label = No Results Message voice.config.voskstt.noResultsMessage.description = Message to be told when no results. voice.config.voskstt.preloadModel.label = Preload Model -voice.config.voskstt.preloadModel.description = Keep language model loaded. If true model is just reload the model on config updates, if not model will be loaded and offloaded on each execution. It will fallback to try to load the model when executed if it was not able to load it before. +voice.config.voskstt.preloadModel.description = Keep the language model loaded. If the parameter is set to true, the model will be reloaded only on configuration updates. If the model is not loaded when needed, the service will try to load it. If the parameter is set to false, the model will be loaded and unloaded on each run. voice.config.voskstt.singleUtteranceMode.label = Single Utterance Mode voice.config.voskstt.singleUtteranceMode.description = When enabled recognition stops listening after a single utterance.