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

date extraction #411

Open
yishairasowsky opened this issue Dec 15, 2019 · 5 comments
Open

date extraction #411

yishairasowsky opened this issue Dec 15, 2019 · 5 comments

Comments

@yishairasowsky
Copy link

Is there a way to write a rule based system to catch things like start/end dates from a contract text. Here are a few real examples. I am bolding the date entities which I want spacy to automatically detect. If you have other ideas different than spacy that is also OK!

  1. The initial term of this Lease shall be for a period of Five (5) years commencing on
    February 1, 2012, (the “Lease Commencement Date”) and expiring on January 31, 2017
    (the “Initial Lease Term”).

  2. Term: One (1) year commencing January 1, 2007 ("Commencement Date") and ending
    December 31, 2007 ("Expiration Date").

  3. This Lease Agreement is entered into for term of 15 years, beginning January 1, 2014 and ending on December 31, 2028.

@szeke
Copy link
Member

szeke commented Dec 16, 2019

I think ETK has a rule extractor using Space that scans the text for dates. It is slow as SpaCy 2 became very slow. @GreatYYX please confirm and put a pointer to example code, if we have it.

@yishairasowsky
Copy link
Author

yishairasowsky commented Dec 16, 2019 via email

@szeke
Copy link
Member

szeke commented Dec 16, 2019

Sure, please do.

@yishairasowsky
Copy link
Author

yishairasowsky commented Dec 16, 2019 via email

@GreatYYX
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants