Forum Moderators: coopster

Message Too Old, No Replies

stemming assistance needed

         

dav_999

9:50 pm on Mar 2, 2009 (gmt 0)

10+ Year Member



is there any way to make these type of words to simple (i can't say correct but let me explain)
if the word is working so i need it to work etc but the actual word will be any thing,...

eelixduppy

10:40 pm on Mar 2, 2009 (gmt 0)



So you want to remove any suffix that could be appended to a word to get the "base word"?

dav_999

6:06 pm on Mar 4, 2009 (gmt 0)

10+ Year Member



yes

coopster

7:46 pm on Mar 4, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The term you are referring to is known as "stemming" and there are external libraries for helping you with this advanced topic. The Snowball project is one of the more popular and PECL [pecl.php.net] has a version in it's
text -> stem
package.