]> git.basschouten.com Git - openhab-addons.git/commitdiff
[voskstt] Update the description of the preloadModel parameter (#12749)
authorlolodomo <lg.hc@free.fr>
Mon, 16 May 2022 17:16:23 +0000 (19:16 +0200)
committerGitHub <noreply@github.com>
Mon, 16 May 2022 17:16:23 +0000 (19:16 +0200)
* [voskstt] Update the description of the preloadModel parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/config/config.xml
bundles/org.openhab.voice.voskstt/src/main/resources/OH-INF/i18n/voskstt.properties

index 1a6e37c1c28e21c7332bfb5324052a4aa6b025e5..27531c2fcd421c04e602d598a050088641ea44e6 100644 (file)
                </parameter>
                <parameter name="preloadModel" type="boolean" groupName="stt">
                        <label>Preload Model</label>
-                       <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.</description>
+                       <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.
+                       </description>
                        <default>false</default>
                </parameter>
                <parameter name="noResultsMessage" type="text" groupName="messages">
index 952f07837405a0f150695ade58f6bc39ed3a9eea..85f279106019fa12f1813dd15a5f03a4414e757a 100644 (file)
@@ -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.