Combine all the text cleaning and extraction functions into one
Source:R/Basic_CleanUp.R
textPrep.Rd
This function prepares the data by cleaning punctuation, checking spelling against the lexicons, mapping terms according to the lexicons and lower casing everything. It contains several of the other functions in the package for ease of use.
See also
Other NLP - Text Cleaning and Extraction:
ColumnCleanUp()
,
DictionaryInPlaceReplace()
,
Extractor()
,
NegativeRemoveWrapper()
,
NegativeRemove()
Examples
mywords<-c("Hospital Number","Patient Name:","DOB:","General Practitioner:",
"Date received:","Clinical Details:","Macroscopic description:",
"Histology:","Diagnosis:")
CleanResults<-textPrep(PathDataFrameFinal$PathReportWhole,mywords)