metakgp / mftp

CDC noticeboard scraper
GNU Affero General Public License v3.0
34 stars 42 forks source link

Parse Test/Deadline dates and add them to Google Calendar #8

Open hargup opened 7 years ago

DefCon-007 commented 7 years ago

@hargup : I think we can do it using CommonRegex and GYFT

iakshat commented 2 years ago

Hi @hargup @DefCon-007 @thealphadollar ! I wanted to work on this issue! But I think it may also create some confusions.

I tried a few libraries to try extract dates. Many a times if the notice formatting is really good, even regex based libraries are able to get the actual date. I also tried some nlp based libraries, (sutime is one of them) it can help us improve the results!

But even after everything, there are cases when we will get some errors in dates. Add to calendar link will allow edits(obviously) but it may create fuckups for people blindly trusting the link. So, should we actually do this? (No doubt if everyone verifies the datetime, it'll be a great setup!)