Mike Taylor

Results 80 comments of Mike Taylor

I could see WordNet being used for this as a secondary method similar to how ICU is used but not as the primary - adding 12+ megs to the package...

the nlp() routine tries all of the words to find out which one is a possible date/time to parse, so it found "Sunday" and went with it

I've always wanted to add a new result to both parse() and nlp() that was a list of possibles with weights - so your Levenshtein distance value idea would be...

This is both a bug but not a bug ... in the strict sense of the parsing the "ago" part should be paired only with the "1 day" part but...

Your very welcome - thanks for using parsedatetime

Changing this from bug to enhancement to track that it needs to be done as future new work.

@philiptzou I made an attempt at removing the time/date flag, but may have goofed something up (I shouldn't code this late at night ;) can you review this for any...

blocking https://github.com/bear/parsedatetime/issues/121

@legastero does removing the else as mentioned seem ok? https://github.com/fritzy/SleekXMPP/blob/develop/sleekxmpp/plugins/xep_0004/stanza/form.py#L78