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.
DictionaryInPlaceReplace(inputString, list)
inputString | the input string (ie the full medical report) |
---|---|
list | The replacing list |
This returns a character vector
Other NLP - Text Cleaning and Extraction:
ColumnCleanUp()
,
Extractor()
,
NegativeRemoveWrapper()
,
NegativeRemove()
,
textPrep()