Stemming - code examples or open source projects?

馋奶兔 提交于 2019-12-18 11:36:10

问题


Stemming is something that's needed in tagging systems. I use delicious, and I don't have time to manage and prune my tags. I'm a bit more careful with my blog, but it isn't perfect. I write software for embedded systems that would be much more functional (helpful to the user) if they included stemming.

For instance:
Parse
Parser
Parsing

Should all mean the same thing to whatever system I'm putting them into.

Ideally there's a BSD licensed stemmer somewhere, but if not, where do I look to learn the common algorithms and techniques for this?

Aside from BSD stemmers, what other open source licensed stemmers are out there?

-Adam


回答1:


Snowball stemmer (C & Java) I've used it's Python binding, PyStemmer




回答2:


Check out the nltk toolkit written in python. It has a very functional stemmer.




回答3:


Another option for stemming would be WordNet, along with one of its APIs. Some basic information on stemming and lemmatization, including a description of the Porter stemming algorithm, can be found online in Introduction to Information Retrieval.




回答4:


Lucene has a stemmer in, I believe (and IIRC it lets you use your own one if you want).

EDIT: Just checked, and Lucence refers to the Snowball site which is an open source stemming library as far as I can tell.



来源:https://stackoverflow.com/questions/595110/stemming-code-examples-or-open-source-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!