DictionaryInPlaceReplace: Dictionary In Place Replace

View source: R/Basic_CleanUp.R

DictionaryInPlaceReplaceR Documentation

Dictionary In Place Replace

Description

This maps terms in the text and replaces them with the standardised term (mapped in the lexicon file) within the text. It is used within the textPrep function.

Usage

DictionaryInPlaceReplace(inputString, list)

Arguments

inputString

the input string (ie the full medical report)

list

The replacing list

Value

This returns a character vector

See Also

Other NLP - Text Cleaning and Extraction: ColumnCleanUp(), Extractor(), NegativeRemoveWrapper(), NegativeRemove(), textPrep()

Examples

inputText<-DictionaryInPlaceReplace(TheOGDReportFinal$OGDReportWhole,LocationList())

sebastiz/EndoMineR documentation built on Dec. 4, 2022, 7:04 p.m.