lex
lex

Reputation: 25

mapping English words to their singular forms

Examples: mapping a plural noun to its singular form: children --> child, boxes ---> box mapping comparative and superlative of adjectives and adverbs to their basic form mapping verb ....

I once found an open source resource to achieve it. As I remember, it is a datasheet?/spreadsheet?/database? of the mapping. Does anyone know the open source resource, or any alternative/better solution? I'm coding in java.

Upvotes: 0

Views: 220

Answers (2)

gbulmer
gbulmer

Reputation: 4290

There was a paper in the '80s about the UNIX spell checker which explained how stemming worked. This Wikipedia UNIX Spell article gives a link to the paper, and also identifies some alternatives.

Upvotes: 0

om-nom-nom
om-nom-nom

Reputation: 62835

That is called stemming and Lucene (specifically snowball contrib) can do that.

There is a number of different stemming algorithms.

Upvotes: 2

Related Questions