You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this great package! It works really well and it helps my Master Thesis about spelling mistakes. I now adjusted the costs for letter substitutions based on what keys are adjacent to each other on the keyboard.
Now imagine this example: Someone writes 'Horsde' instead of 'Horse'. In that case, I would like the deletion cost of 'd' to be 0.5 instead of 1, because the 'd' key is adjacent to one of the keys of the adjacent letters in the word (in this case both the 's' and the 'e'). If the spelling error would be 'Horsbe' instead of 'Horse', I'd want an edit distance of 1 instead.
Is that possible to do in any way? As far as I see it is only possible to make general statements concerning deletion costs and not those conditional ones that are necessary here.
Best,
Timo
The text was updated successfully, but these errors were encountered:
It's the same with language specific edits, e.g. in German the h after t is often omitted, so the insertion cost for h should be lower but only after certain letters.
Thank you for this great package! It works really well and it helps my Master Thesis about spelling mistakes. I now adjusted the costs for letter substitutions based on what keys are adjacent to each other on the keyboard.
Now imagine this example: Someone writes 'Horsde' instead of 'Horse'. In that case, I would like the deletion cost of 'd' to be 0.5 instead of 1, because the 'd' key is adjacent to one of the keys of the adjacent letters in the word (in this case both the 's' and the 'e'). If the spelling error would be 'Horsbe' instead of 'Horse', I'd want an edit distance of 1 instead.
Is that possible to do in any way? As far as I see it is only possible to make general statements concerning deletion costs and not those conditional ones that are necessary here.
Best,
Timo
The text was updated successfully, but these errors were encountered: