|All requests||>||What is the best PHP porter stemming ...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Mehran Ko - 10 months ago (2016-04-23)
I use porter algorithm for stemming words (stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form.
The stem need not be identical to the morphological root of the word. It is usually sufficient that related words map to the same stem, even if this stem is not in itself a valid root. For example, should identify the string
"cats" (and possibly "catlike", "catty" etc.) as based on the root
"cat", and "stems", "stemmer", "stemming", "stemmed" as based on "stem".)
I hope you understand stemming now.
My current Porter algorithm has a problem, like Germany should remain Germany but its turn to "Germani" and family should remain same but changes to "famili" and military and beauty, or "friendly" should turn to "friend" but its change to "friendli" or its make "uniqu" or "awesom" the letter "E" is deleted,,,and many problem like this.
Is there any porter better than this porter algorithm or other algorithm?
The current porter algorithm implementaition that I am using is here:
i am waiting for your valuable helps...
Did you try PHP stemmer class? It is targetted to Spanish but you may be able to adapt it for your needs.
1. by Mehran Ko - 10 months ago (2016-04-23) Reply
i need for english,,yes stemmer class