You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the below code and I am getting incorrect values returned:
from dateparser.search import search_dates
content = "Agreement shall be renewed through and including December 31, 2024 (the \"Renewal Term\"); and (b) after the Renewal Term, the Agreement shall continue thereafter until either party elects to terminate the Agreement by delivering written notice of termination to the other party at least 90 days before the desired effective date of such termination"
results = search_dates(
content,
# azure_text_input_data.response.response["content"],
settings={"STRICT_PARSING": True, "REQUIRE_PARTS": ["day", "month", "year"]},
)
print(results)
My expectation is that only the date December 31, 2024 is returned, but when I run this I also get "90 days before" in the results. Is there something wrong in my code?
The text was updated successfully, but these errors were encountered:
I am using the below code and I am getting incorrect values returned:
My expectation is that only the date December 31, 2024 is returned, but when I run this I also get "90 days before" in the results. Is there something wrong in my code?
The text was updated successfully, but these errors were encountered: