From: lolodomo Date: Mon, 16 May 2022 17:16:23 +0000 (+0200) Subject: [voskstt] Update the description of the preloadModel parameter (#12749) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=5eaddd1af1bef0dd2195e104f87e7cf6284838ff;p=openhab-addons.git [voskstt] Update the description of the preloadModel parameter (#12749) * [voskstt] Update the description of the preloadModel parameter Signed-off-by: Laurent Garnier --- 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 1a6e37c1c2..27531c2fcd 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 952f078374..85f2791060 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.