Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top