1from fuzzywuzzy import process
2str2Match = "apple inc"
3strOptions = ["Apple Inc.","apple park","apple incorporated","iphone"]
4Ratios = process.extract(str2Match,strOptions)
5print(Ratios)
6# You can also select the string with the highest matching percentage
7highest = process.extractOne(str2Match,strOptions)
8print(highest)
9