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

feat: add Bulgarian language stemmer #291

Merged
merged 2 commits into from
Feb 27, 2023
Merged

Conversation

boian-ivanov
Copy link
Contributor

@boian-ivanov boian-ivanov commented Feb 20, 2023

As mentioned on the previous PR (#289), this PR adds a light stemmer for Bulgarian, based on the Java implementation found in Apache Lucene (repo, stemmer).

Note: as this is a light stemmer implementation (without a dictionary) there may be some edge cases of things not being covered, but it should suffice for most common use cases.

@boian-ivanov
Copy link
Contributor Author

I've also been looking into stop-words and wanted to check if we want to have a custom hardcoded solution like the currently available languages in the project, or if we're ok with importing a standard package like stopwords-iso, which has a variant for Bulgarian stopwords (which can also be imported standalone).

@boian-ivanov
Copy link
Contributor Author

@micheleriva Is there anything else required to push this over the line?

Copy link
Member

@micheleriva micheleriva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply 🙂 LGTM

@micheleriva micheleriva merged commit 35470c0 into oramasearch:main Feb 27, 2023
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

Successfully merging this pull request may close these issues.

2 participants