开发者

Is there a tool to obtain all get all derivatives of a word in PHP?

开发者 https://www.devze.com 2023-03-04 14:39 出处:网络
I need to input \"face\" and get \"facial, faces, faced, facing, facer, faceable\" etc. I\'ve come across some ineffective programs which do the opposite, such as SNOWBALL开发者_如何转开发 and a cou

I need to input "face" and get "facial, faces, faced, facing, facer, faceable" etc.

I've come across some ineffective programs which do the opposite, such as SNOWBALL开发者_如何转开发 and a couple of Porter Stemming PHP scripts which don't seem to work.

I'm beginning to think I may have to write this script - But, I thought I'd check to see if somebody has already been there/done that.


It will be very hard to simply find an algorithm to find the different way a word can be written like that.

You can use a dictionary webservice instead that have all the words available already

0

精彩评论

暂无评论...
验证码 换一张
取 消