-
Notifications
You must be signed in to change notification settings - Fork 689
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
Conversation
Thanks you for this contribution @nickspring. |
analysis/lang/pl/stemmer_pl.go
Outdated
func NewPolishStemmerFilter() *PolishStemmerFilter { | ||
trie, err := stempel.LoadTrie() | ||
if err != nil { | ||
log.Fatal(err) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
@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. |
done |
* 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
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.