PHP Classes
elePHPant
Icontem

What is the best PHP porter stemming class?: Good stemming algorithm

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP porter stemming ...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP porter stemming class?

Edit

Picture of Mehran Ko by Mehran Ko - 13 hours ago (2016-04-23)

Good stemming algorithm

This request is clear and relevant.
This request is not clear or is not relevant.

0

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:

http://tartarus.org/~martin/PorterStemmer/php.txt

i am waiting for your valuable helps...

Ask clarification

1 Recommendation

PHP Stemmer : Compute the stem of a Spanish word

This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 13500 - 13 hours ago (2016-04-23) Comment

Did you try PHP stemmer class? It is targetted to Spanish but you may be able to adapt it for your needs.

  • 2 Comments
  • 1. Picture of Mehran Ko by Mehran Ko - 12 hours ago (2016-04-23) Reply

    i need for english,,yes stemmer class

  • 2. Picture of Manuel Lemos by Manuel Lemos - 10 hours ago (2016-04-24) in reply to comment 1 by Mehran Ko Reply

    There is also this Full text indexing class that can also stem words in English and Spanish.

    Just let me know if this will do or you need a more specific class for stemming.


Recommend package
: 
: