rslp: RSLP

Description Usage Arguments References Examples

View source: R/rslp.R

Description

Apply the Stemming Algorithm for the Portuguese Language to vector of words.

Usage

1
2
3
4
rslp(
  words,
  steprules = readRDS(system.file("steprules.rds", package = "rslp"))
)

Arguments

words

vector of words that you want to stem.

steprules

as obtained from the function extract_rules. (only define if you are certain about it). The default is to get the parsed versionof the rules installed with the package.

References

V. Orengo, C. Huyck, "A Stemming Algorithmm for the Portuguese Language", SPIRE, 2001, String Processing and Information Retrieval, International Symposium on, String Processing and Information Retrieval, International Symposium on 2001, pp. 0186, doi:10.1109/SPIRE.2001.10024

Examples

1
2
words <- c("gostou", "gosto", "gostaram")
rslp(words)

rslp documentation built on July 1, 2020, 11:11 p.m.

Related to rslp in rslp...