Giter VIP home page Giter VIP logo

Comments (8)

shalvah avatar shalvah commented on August 21, 2024

Also, something like "by 12:45 am" used in the middle of the day seems to refer to the past 12:45 instead of wrapping, even though the forwardDate option is specified.

(Edit: Solved in 788dfc3)

from remindmeofthistweet.

shalvah avatar shalvah commented on August 21, 2024

https://twitter.com/xchurlx/status/1132742758102425604 (Diagnosis: Chrono doesn't recognize the pattern (missing month), so the "27th" is considered as a divider for two date/times. I've disregarded this as an edge case.)

https://twitter.com/Delftsey/status/1148307327340167173?s=19 (Diagnosis: The "." between date and time makes chrono consider them as separate times. Solved in 632b275)

https://twitter.com/nytafili/status/1148306855753465857?s=19 (Diagnosis: False negative)

https://twitter.com/Dehddy_/status/1148283228119343105?s=19 (Diagnosis: The "by" between "tomorrow" and time makes chrono consider them as separate parts. Solved in 632b275)

from remindmeofthistweet.

shalvah avatar shalvah commented on August 21, 2024

Solved (mostly) in #11

from remindmeofthistweet.

shalvah avatar shalvah commented on August 21, 2024

https://twitter.com/simi_giwa/status/1150892610334199808?s=19

My guess is: two objects with time. Interesting.

from remindmeofthistweet.

shalvah avatar shalvah commented on August 21, 2024

https://mobile.twitter.com/triplerolex/status/1166069397385076738

from remindmeofthistweet.

tsahi avatar tsahi commented on August 21, 2024

For unexpected formats, you might have better luck using some AI. I've used Azure Cognitive Services successfully: https://azure.microsoft.com/en-us/overview/ they also have a free tier in some regions.

from remindmeofthistweet.

shalvah avatar shalvah commented on August 21, 2024

Maybe, but I think it would be faster with local parsing (plus no rate limits). I'll only switch to an API if there are significant problems

from remindmeofthistweet.

tsahi avatar tsahi commented on August 21, 2024

I meant this link actually: https://azure.microsoft.com/en-us/services/cognitive-services/language-understanding-intelligent-service/ but OK.

from remindmeofthistweet.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.