R/stem.R

Defines functions Snowball_Stem_Annotator

Documented in Snowball_Stem_Annotator

Snowball_Stem_Annotator <-
function(language = "porter")
{
    f <- function(s) wordStem(s, language)
    description <-
        sprintf("A Snowball word stem annotator for language '%s'",
                language)
    Simple_Stem_Annotator(f, list(description = description))
}

Try the NLPutils package in your browser

Any scripts or data that you put into this service are public.

NLPutils documentation built on May 31, 2023, 8:54 p.m.