-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Dates (relative and explicit) core concepts of adapt #30
Comments
I was thinking about this as well. You might want to take a look at https://github.com/scrapinghub/dateparser/tree/master/data/languagefiles It's a bunch of YAML formatted language files for natural language parsing of dates. They've put in a bunch of work on it, and if you can use it for adapt that's great. Being able to pass a function as an intent parser could be interesting. Not sure how that works with your code base, but if "dateparser.parse" returns None/False/[] then you know it's not a date intent. I don't know how you check intents, so that might not work, and would certainly be less elegant then building a system using adapt, but it could work pretty well for quick hacks of all types. |
No description provided.
The text was updated successfully, but these errors were encountered: