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

Add support of Polish language #1825

Merged
merged 4 commits into from
Jul 27, 2023
Merged

Conversation

nickspring
Copy link
Contributor

I've embedded http://github.com/blevesearch/stempel to bleavesearch because I needed changes here too (to embed *.tbl file in build I need load tier from bytes array, not only by filename). Unfortunately it's complicated to track 2 pull requests as I need it in my project right now.

@abhinavdangeti
Copy link
Member

Thanks you for this contribution @nickspring.
The team will review this soon.

func NewPolishStemmerFilter() *PolishStemmerFilter {
trie, err := stempel.LoadTrie()
if err != nil {
log.Fatal(err)
Copy link
Member

Choose a reason for hiding this comment

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

Let's return an error here as opposed to log.Fatal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, thank you for review

analysis/lang/pl/stempel/fuzz.go Show resolved Hide resolved
@abhinavdangeti abhinavdangeti modified the milestones: v2.4.0, v2.3.10 Jul 24, 2023
@abhinavdangeti
Copy link
Member

@nickspring One last request (probably) here - would you rebase your change over master to resolve the unresolved conflicts. We can target this for v2.3.10 then.

@nickspring
Copy link
Contributor Author

done

@abhinavdangeti abhinavdangeti merged commit ad92557 into blevesearch:master Jul 27, 2023
CascadingRadium pushed a commit that referenced this pull request Aug 31, 2023
* Add Polish language support

* Add Polish language support: embed stempel lib & tbl file

* Add Polish language support: embed stempel lib & tbl file

* Pull request fixes
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