How to parse rules like "every two hours" , "every two days" etc
gongshaojie12 opened this issue · comments
gongshaojie12 commented
Hi,I want to parse the rules like "every two hours" , "every two days", "every two weeks", "every two months" etc. I'm a newbie and don't know what to do . Please help me, thanks!
chessai commented
this is a known lacking feature of duckling. I was working on it some months ago but couldn't devote too much time to it. I'm not even sure my approach was the best.
gongshaojie12 commented
Hi @chessai Thank you very much. Can you share your approach?
gongshaojie12 commented
I noticed that predEveryFrom in Time/Helper.hs
can handle periodic events, but I don't know how to use it.