I am trying to call ratio() function from the library fuzzywuzzy to match two string and get the following error message:
AttributeError: module 'fuzzywuzzy' has no attribute 'ratio'
Has the version changed? I tried to look for other functions within fuzz to see if it exists, but I am unable to find it.
import fuzzywuzzy as fuzz
from fuzzywuzzy import process
import Levenshtein
fuzz.ratio('Lord of the Rings', 'The Lord of the Rings')