質問

What is a good library to use in Java to transform words into their basic form? That is, if we have "go" "going" and "gone" on the input, I need to receive 3 times "go" on the output.

役に立ちましたか?

解決

Check out the Porter Stemmer. It is licensed under BSD, so you should have no (legal) issues with using it. Here is a link to the source.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top