I have two data frames in that DF1 is (word dictionary) and DF2 is sentences.I want to make text matching in such a way that If word in DF1 matches to DF2 sentence(any word from sentence) then output should be column with yes if match or No if won't match data frames are as follow:
(DF1) word dictionary:
DF1 <- c("csi", "dsi", "market", "share", "improvement", "dealers", "increase")
(DF2)sentences:
DF2 <- c("Customer satisfaction index improvement", "reduction in retail cycle", "Improve market share", "% recovery from vendor")
and output should be:
Customer satisfaction index improvement ( yes)
reduction in retail cycle (no)
Improve market share (yes)
% recovery from vendor (no)
note- yes and No is different column showing result of text matching Can anyone help .....thanks in advance