nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
129 stars 92 forks source link

Util: add GetStringLevenshteinDistance #1638

Closed summonFox closed 1 year ago

summonFox commented 1 year ago

Super niche use, but maybe someone else out there also could find some use for it.

For us, we use it for calculating the crafting cost of editing item descriptions. Every character difference between the strings increases the cost for adding or remove text from the item.