See if words from two lists co-exist within a sentence
Source:R/Basic_CleanUp.R
EntityPairs_OneSentence.Rd
See if words from two lists co-exist within a sentence. Eg site and tissue type. This function only looks in one sentence for the two terms. If you suspect the terms may occur in adjacent sentences then use the EntityPairs_TwoSentence function.
Arguments
- inputText
The relevant pathology text column
- list1
First list to refer to
- list2
The second list to look for
See also
Other Basic Column mutators:
EntityPairs_TwoSentence()
,
ExtrapolatefromDictionary()
,
ListLookup()
,
MyImgLibrary()