I have the following input-
query = 'Total replenishment lead time (in workdays)'
choices = ['PLANNING_TIME_FENCE_CODE', 'BUILD_IN_WIP_FLAG','Lead_time_planning', 'Total replenishment lead time 1', 'Total replenishment lead time 2']
print(process.extract(query, choices))
I get the following output-
[('Total replenishment lead time 1', 92), ('Total replenishment lead time 2', 92), ('Lead_time_planning', 50), ('PLANNING_TIME_FENCE_CODE', 36), ('BUILD_IN_WIP_FLAG', 26)]
But I just want all the best choices with a maximum similarity ratio even if the ratio is similar for two choices.
Please help.