ReplaceByList: Replace a list of words by a pair list

Description Usage Arguments Value Author(s)

Description

A process similar to lemmatization with a custom dictionary file in the form of a data frame of custom words and its corresponding replacement word

Usage

1
ReplaceByList(corpus, wordsFile)

Arguments

corpus

a corpus object

wordsFile

a file with custom words to be replaced (first column with the replacement words, second column with the original words; separated by tabulation)

Value

a corpus with replaced words

Author(s)

Camila Góngora mcgongoraa@unal.edu.co, Andrés Palacios anfpalacioscl@unal.edu.co


andresfpc/KDViz documentation built on May 12, 2019, 3:35 a.m.