I'm using fuzz.token_set_ratio(str1, str2) to find str1 in str2 (str1 may not be in the same format as it appears in str2 : up/low case, space between letters, punctuation ...) and it's doing just a great job.
What I need is to find the term position if it exists in the second string. Is that possible with fuzzywuzzy ? Or is there any method to achieve that ?
I'm using
fuzz.token_set_ratio(str1, str2)
to find str1 in str2 (str1 may not be in the same format as it appears in str2 : up/low case, space between letters, punctuation ...) and it's doing just a great job.What I need is to find the term position if it exists in the second string. Is that possible with fuzzywuzzy ? Or is there any method to achieve that ?
Thank you for your help.