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

MultiDateMatcher doesn't return more than one date #13780

Closed
1 task done
bunyamin-polat opened this issue May 2, 2023 · 1 comment · Fixed by #13783
Closed
1 task done

MultiDateMatcher doesn't return more than one date #13780

bunyamin-polat opened this issue May 2, 2023 · 1 comment · Fixed by #13783

Comments

@bunyamin-polat
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues and did not find a match.

Who can help?

No response

What are you working on?

I am using the MultiDateMatcher on the Agreement texts to get all the different date formats

https://sparknlp.org/docs/en/annotators#multidatematcher

Current Behavior

There is more than one date in the texts, but only 1 date is being returned for MultiDateMatcher.

Expected Behavior

I would like to get dates in all different formats

Steps To Reproduce

https://colab.research.google.com/drive/1fG6yah-DLv49ByGX_GZnkpYJ5RlW7GZ8#scrollTo=b7f2c545-14d6-41da-a4cc-0dc8a6ea3180

Spark NLP version and Apache Spark

spark.version = 3.3.1
sparknlp.version() = 4.4.1

Type of Spark Application

No response

Java Version

No response

Java Home Directory

No response

Setup and installation

No response

Operating System and Version

No response

Link to your project (if available)

No response

Additional Information

No response

@maziyarpanahi
Copy link
Member

This should be fixed in 4.4.2 release: #13783

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

Successfully merging a pull request may close this issue.

3 participants