I want to create a new column (MATCH) on the basis of string match between two existing columns. For example -
| st_add | aa_add | MATCH |
|---|---|---|
| jai maa durga society | jai maa durga colony | MATCH |
| elph road highway 1 | road highway 2 elph | MATCH |
| srinivan colony parel ist | srinivan bus depot | NOT MATCH |
If there is a match in three or more words between column 1 and column 2 then then column 3(MATCH) should show "MATCH". But if there is less than 3 words matches or no match at all (example row 3) then the result should be "NO MATCH"
How can I do this using R??