开发者

English lemmatizer databases?

开发者 https://www.devze.com 2023-03-12 05:27 出处:网络
Do you know any big enough lemmatizer database that returns correct result for following sample words:

Do you know any big enough lemmatizer database that returns correct result for following sample words:

geese: goose
plantes: //not found
开发者_如何转开发

Wordnet's morphological analyzer is not sufficient, since it gives the following incorrect results:

geese: //not found
plantes: plant


MorphAdorner seems to be better at this, but it still finds the incorrect result for "plantes"

plantes: plante
geese: goose

Maybe you'd like to use MorphAdorner to do the lemmatization, and then check its results against WordNet. You can use the WordNet API to perform lookups without first performing lemmatization by calling findtheinfo_ds. This allows you to use a lemmatizer like MorphAdorner first. (If you wanted to use the lemmaitzer, you'd need to call morph separately and call findtheinfo_ds on the lemmas that it returned.)

On the other hand, I only spent about 5 seconds looking at MorphAdorner for this purpose, and there may be a way to eliminate the incorrect "plantes" answer without having to use any other outside resource.


Once upon a time, someone suggested Morpha to me, but I haven't used it, so I don't know if it does any better at this than WordNet does.

0

精彩评论

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

关注公众号