addStopwords: Add stopwords

Description Usage Arguments Value Examples

View source: R/stopwords.R

Description

Add stopwords to the detector to remove them from terms and ignore them in the detection phase

Usage

1
addStopwords(termDetector, stopwords)

Arguments

termDetector

: a TermDetector instance

stopwords

: a vector of character

Value

Nothing, it just add the stopwords

Examples

1
2
3
termDetector <- RIAMsystem::newTermDetector()
stopwords <- c("a","de","le","pour")
RIAMsystem::addStopwords(termDetector, stopwords)

scossin/RIAMsystem documentation built on Dec. 5, 2020, 5:40 p.m.