extractLines: extractLines

Description Usage Arguments Details Value Author(s) See Also

Description

extractLines removes text lines which include designated strings

Usage

1
extractLines(document, strings)

Arguments

document

List of texts to be cleaned

strings

Vector of strings to be removed

Details

This function takes as its parameters, a list or vector of texts and a vector of strings to be excluded from the text, then removes the lines containing the string(s) and returns the cleaned document to the calling environment.

Value

cleanDocument List of text without lines containing profanity

Author(s)

John James, j2sdatalab@gmail.com

See Also

Other text processing functions: analyzeCorpus, cleanCorpus, cleanDocument, getCorpus, getStats, summarizeAnalysis


j2scode/predictifyR documentation built on May 14, 2019, 10:34 a.m.