duckling_old icon indicating copy to clipboard operation
duckling_old copied to clipboard

Query about duckling's working.

Open pravj opened this issue 10 years ago • 2 comments

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.

pravj avatar Dec 11 '14 06:12 pravj

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.

l5t avatar Dec 11 '14 17:12 l5t

+1 This would be a great addition. Good idea.

Glavin001 avatar Mar 01 '15 03:03 Glavin001