WordStem

WordStem["word"]

gives a stemmed form of word, removing plurals, inflections, etc.

Details

  • WordStem may not always yield full words.
  • WordStem uses the Porter stemming algorithm.
  • WordStem preserves punctuation of words.

Examples

open allclose all

Basic Examples  (2)

Find the stemmed form of a word:

Stem a list of words:

Word stemming preserves case:

Scope  (1)

WordStem automatically threads over lists:

Applications  (2)

Find the most commonly occurring stem words in a piece of text:

Construct the stemmed forms of random English words and find which of them are recognized dictionary words:

Remove the words that are identical to their stemmed forms:

Emphasize in blue the stemmed forms that are recognized English dictionary words:

Visualize each pair in a text grid:

Possible Issues  (1)

WordStem does not always return a proper English word:

Introduced in 2015
 (10.1)