unify_stems: Unify stems by mean position

Description Usage Arguments Details

View source: R/stem_hunspell.R

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.


dfalbel/ptstem documentation built on May 16, 2020, 11:45 a.m.