duckling_old
duckling_old copied to clipboard
Query about duckling's working.
duckling is an awesome thing.
I have a simple query about its working. I was trying the online demo and I entered the sentence, I'll meet her day after tomorrow.
The result was catching the tomorrow
word only. On the other hand, it works fine when I use I'll meet her the day after tomorrow.
This time the result was catching entire the day after tomorrow
.
So my query is that, does it work by matching exact phrase in the input sentence?
I think that it can work more efficiently if it check similarity between the matched phrase and the sentence.
I mean, in the earlier example day after tomorrow
was resulting in tomorrow
only. But day after tomorrow
and the day after tomorrow
are very much similar.
Actually I'm zero in Clojure, so please forgive me if I'm wrong somewhere.
Hi Pravj, thanks for your comment. You're right we could be less strict in the matching. Duckling is based on rules so it should be easy to release some constraint for your example.
+1 This would be a great addition. Good idea.