fonsim.conversion package
Submodules
fonsim.conversion.indexmatch module
Get index of best-matching labels
2020, September 4
- fonsim.conversion.indexmatch.get_index_of_best_match(unit, candidates)[source]
Get index of best-matching labels
Note: all labels are converted to strings and lowercase
- Parameters
unit – base label to compare with
candidates – list of labels to compare against and get index from
- Returns
index of best match