I have list of names which can be ignored(Enterprise, Tech, Factory, Data, Private, Public) which i added to the asset. Now I am comparing name 1 with name 2.
-
First logic - While comparing name 1 and name 2 if 2 common words found i will take it as matched if no ignored keywords found in the comparison.
i.e (Name 1 = “Mark Day” Name2=“Mark Foundation Day” - it is considered as match as 2 common words found. -
Second Logic - While comparing name 1 and name 2 if 1 common words found i will take it as matched if ignored keywords found in the comparison.
i.e (Name 1 = “Mark Private” Name2=“Private company” - it is considered as match as 1 common words found coz it contains ignored name i.e private.
I am working on this. Can anyone let me know how it can be developed?
Thanks,
Ula