ExtrapolatefromDictionary: Extrapolate from Dictionary

Description Usage Arguments Examples

Description

Provides term mapping and extraction in one. Standardises any term according to a mapping lexicon provided and then extracts the term. Thus is different to the DictionaryInPlaceReplace in that it provides a new column with the extracted terms as opposed to changing it in place

Usage

1

Arguments

inputString

The text string to process

list

of words to iterate through

Examples

1
2
3
4
5
#Firstly we extract histology from the raw report
# The function then standardises the histology terms through a series of
# regular expressions and then extracts the type of tissue 
Mypath$Tissue<-ExtrapolatefromDictionary(Mypath$Histology,HistolType())
rm(MypathExtraction)

sebastiz/EndoMineR_devlop documentation built on May 29, 2019, 7:33 a.m.