Skip to content

Files

Latest commit

61844fe · Sep 11, 2014

History

History

WED

How to run it:

python WeightedLev.py correctWord mispelledWord weightedFlag SubstitutionCostMatrix InsertionCostMatrix DeletionCostMatrix

where weightedFlag:
True: compute weighted Lev. Distance
False: compute standard Lev. Distance

e.g.
python WeightedLev.py task tsk True resources/OddM resources/InsM resources/DelM