unify_stems: Unify stems by mean position

Description Usage Arguments Details

Description

Hunspell can suggest a list of stems for a word. This function tries to aggregate all stems into one. Consider the folowing:

Usage

1
unify_stems(words, stems)

Arguments

words

character vector of words

stems

character vector of stems

Details

a c(1,2) b c(2,3) c c(3)

You want that a, b and c to have the same stem.


ptstem documentation built on May 1, 2019, 7:32 p.m.