Closed shilbert01 closed 5 years ago
@shilbert01 I see the bug in the device logs, but do you also have the bug in the console ? I can't reproduce it in the console on my side. Here is my setup:
Studenplan
Here is the output of the console when when pronouncing (not typing): Welche Stunden habe ich morgen
@shilbert01 in case you see the bug on your side:
I have other apps in my assistant. I will try standalone. Feel free to downlaod the assistant and app. It is is the app store.
On Thu, Apr 25, 2019 at 3:26 PM Clément Doumouro notifications@github.com wrote:
@shilbert01 https://github.com/shilbert01 in case you see the bug on your side:
- do you have other apps in your assistant ?
- do you allow me to download your assistant, to reproduce the bug on my machine and do some advanced debugging ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/snipsco/snips-issues/issues/124#issuecomment-486671984, or mute the thread https://github.com/notifications/unsubscribe-auth/AKCWIHTOJ6YBFQ4U2DANYLLPSGWSFANCNFSM4HHV6RRQ .
We are seeing similar problems with builtin slot type for the built-in snips/datetime
in German
When we add some training examples in German and test them in the console (enter text):
"um 8 uhr" returns no slots
"in10 minuten" returns no slots
"um 16 Uhr 30" returns no slots
Another problem is "in 1 Stunde" is treated as "um ein Stunde" "in 1 Minute" is treated as "um ein Stunde"
Platform Version, OS, Assistant installed, etc.. Platform Version: Snips 0.62.3 OS: Raspbian 9 Stretch
Hi @jenskastensson ,
This looks like a different issue.
First you say "duration" and then mention the slot type snips/datetime
- which one are you using? For your examples it would be snips/datetime
indeed, not snips/duration
. On our end all these cases are recognized correctly. Could you check if you're using the right slot type?
If you still have issues, feel free to open a new ticket so that we can investigate.
The problem is related to snips/datetime
in German.
When I test the following strings in the console, none of them works as expected (slots are empty)
"um 8 uhr" returns no slots
"in10 minuten" returns no slots
"um 16 Uhr 30" returns no slots
"in 1 Stunde" is treated as "um ein Stunde"
"in 1 Minute" is treated as "um ein Stunde"
The training examples:
weck mich in [1 Stunde](time)
Weck mich morgen um [16 Uhr 30](time)
Wecke mich um [8 uhr](time)
Einen Timer [in 8 minuten](time) einstellen
time === snips/datetime
OK, for
weck mich in [1 Stunde](time)
Weck mich morgen um [16 Uhr 30](time)
Wecke mich um [8 uhr](time)
the preposition (in
or um
) needs to be part of the slot.
The last example where this is the case should work correctly.
This is indeed a problem related to snips/datetime in German, but not exactly the same issue as the one for which the ticket was opened, so if still needed a new ticket would be very useful to deal with this one the best we can.
Thank you @rosastern , the problem was indeed the prepositions, when we move them inside the slot all works. Thank you for the support!
What's the issue? The built-in intent snips/datetime does not recognize "morgen" (tomorrow) but "übermorgen" (day after tomorrow)
Use Cases Impacted My app does not understand that I want information about tomorrow ("morgen in German)" It works when typing the question in the snips console but not when speaking it in the snips console. The slot is omitted for "morgen" but not for "übermorgen"
How to reproduce Install the app Stundenplan and ask two questions. 1) Welche Stunden habe ich morgen 2) Welche Stunden habe ich übermorgen
Expected behavior It should translate "morgen" into the date for tomorrow.
Version and Environment OS version ................... Raspbian GNU/Linux 9 (stretch) Installed assistant .......... Smarthome_B Language ..................... de Hotword ...................... hey_snips ASR engine ................... snips Status ....................... Live
Service status:
snips-analytics .............. 0.62.3 (not running) snips-asr .................... 0.62.3 (running) snips-audio-server ........... 0.62.3 (running) snips-dialogue ............... 0.62.3 (running) snips-hotword ................ 0.62.3 (running) snips-nlu .................... 0.62.3 (running) snips-skill-server ........... 0.62.3 (running) snips-tts .................... 0.62.3 (running)
Logs Additional information
Workaround Name the day explicetly (e.g. Wednesday) instead of tomorrow.