Skip to content
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

Simple cases don't work #225

Open
slavaGanzin opened this issue Feb 22, 2022 · 1 comment
Open

Simple cases don't work #225

slavaGanzin opened this issue Feb 22, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@slavaGanzin
Copy link

slavaGanzin commented Feb 22, 2022

Describe the bug

lingua_franca.parse.extract_datetime('in a week') == None #https://ludwig.guru/s/in+a+week
lingua_franca.parse.extract_datetime('a week ago') == None #https://ludwig.guru/s/week+ago
lingua_franca.parse.extract_datetime('3 hours later')[0].hour == lingua_franca.parse.extract_datetime('3 hours before')[0].hour #https://ludwig.guru/s/3+hours+before

'3 hours before now' works, as it should.

@slavaGanzin slavaGanzin added the bug Something isn't working label Feb 22, 2022
@krisgesling krisgesling added the help wanted Extra attention is needed label Mar 2, 2022
@krisgesling
Copy link
Contributor

Thanks for flagging these Slava.

I very much hope you're staying safe too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants