Closed johanneskropf closed 4 years ago
When I use an optional and name replacement like this in a a slot file called items for example:
([das] schlafzimmerlicht){item:Schlafzimmerlicht}
and use it in a sentences.ini like this:
[Licht] ($items) (einschalten:ON | ausschalten:OFF){command}
recognize intent will give me for the text das schlafzimmerlicht ausschalten the result: : Schlafzimmerlicht OFF and in the slots:
das schlafzimmerlicht ausschalten
: Schlafzimmerlicht OFF
item:" : Schlafzimmerlicht" command:"OFF"
I dont think the : for the item slot should be there? Johannes
:
I just tested this on version 2 of voice2json, and it works now :)
When I use an optional and name replacement like this in a a slot file called items for example:
and use it in a sentences.ini like this:
recognize intent will give me for the text
das schlafzimmerlicht ausschalten
the result:: Schlafzimmerlicht OFF
and in the slots:I dont think the
:
for the item slot should be there? Johannes