Hello,
I want to search for a specific keyword from a text and assign them by their type. I am using the
Generate Attributes operator and writing a function to search for the keywords. I have this problem, I have words like, "liar", "lies", "lied" in the list. The function expression that I am using picks up words like "fami
lies", "fami
liar" as well. I only want words that has "lies", "liar", not "families" or "familiar".
This was my approach ;
if(matches(Notes,".*lies.*"),"Lies",
if(matches(Notes,".*liar.*"),"Lies",
if(matches(Notes,".*lied.*"),"Lies",
if(matches(Notes,".*lying.*"),"Lying","None"))))
Any help is appreciated. Thanks