wit icon indicating copy to clipboard operation
wit copied to clipboard

Date Range is not working

Open landman opened this issue 7 years ago • 4 comments

Hi, i m working on a booking site in german and the user should also search with free text. For example: "Suche Flug vom 12. bis 18. August von Berlin nach New York" but wit did not understand the first Number in a Date Range. For example:

image

I tried different dates but its not working. How can i train it?

One date is working. For example: ""Suche Hotel am 12. August in Berlin".

Thanks and Best from Berlin, Dennis

landman avatar Jul 04 '19 05:07 landman

Hi, What language is this? and What is your expected outcome, looks like Wit may not understand your language.

pengtxiafb avatar Jul 05 '19 16:07 pengtxiafb

Hi @landman,

Thanks fo reporting. wit/datetime is powered by Duckling. Please report the issue there, with what is expected and what is the current result. Even better, feel free to improve the German rules for Time and add tests to reflect the changes.

Thanks!

patapizza avatar Jul 05 '19 16:07 patapizza

Hi, What language is this? and What is your expected outcome, looks like Wit may not understand your language.

Its german. The result should be 12.08. and 18.08.

landman avatar Jul 12 '19 14:07 landman

Hi @landman,

Thanks fo reporting. wit/datetime is powered by Duckling. Please report the issue there, with what is expected and what is the current result. Even better, feel free to improve the German rules for Time and add tests to reflect the changes.

Thanks!

The tests dont have a simple Date Range. The first Date is always wrong.

landman avatar Jul 12 '19 14:07 landman