dropStop: dropStop is a utility for removing certain words from text...

View source: R/dropStop.R

dropStopR Documentation

dropStop is a utility for removing certain words from text data

Description

dropStop is a utility for removing certain words from text data

Usage

dropStop(x, drop, lower = TRUE, splitby = " ")

Arguments

x

character vector of strings to be cleaned

drop

character vector of words to scrub

lower

logical, if TRUE, x converted with tolower

splitby

character, used with strsplit to tokenize x

Value

a list with one element per input string, split by " ", with elements in drop removed

Examples

data(minicorpus)
minicorpus[1:3]
dropStop(minicorpus)[1:3]

vjcitn/ontoProc documentation built on Oct. 12, 2024, 4:35 p.m.