How do I use Snips NLU to automatically learn location of a user just like snips/datetime


Hey I was wondering if there is a way to find out location of a user just like snips/datetime can find out the date and time for today?
Thank you


Date and time comes from the OS running. If you want to discover the location the only solution, very unreliable, is through the IP. You’re better off having a setting for this


Thank you @Psycho . Is there a way to find out a date from a previous date.
Like for eg we have a date lets say departure_date=26/03/2019.
Now the user inputs something like for a duration of 6 days.
So the arrival_date is automatically calculated as 01/04/2019.

is there a way to do this?


Sure, python can do anything. Check datetime


Also, Snips has a “duration” slot btw


Yeah I know about the python datetime module. I was wondering if there was a way to do it in snips automatically such that the new date is automatically calculated by taking into account the date in the departure date slot.


Thanks @Psycho. I understood what you meant by the duration slot.
I was also curious about knowing if we use cleaned data for training of nlu engine or should we use data with punctuation and upper case etc for better training?


punctuation and or capital letters aren’t needed, they are not returned by the asr usually. Check the asr output and try to stay as close as what it spits out