smithoss/gonymizer

Discuss which string edit-difference algorithms should be supported

開放

#7 建立於 2019年3月8日

 (0 則留言) (0 個反應) (0 位負責人)Go (34 個分叉)auto 404
help wantedquestion

倉庫指標

星標
 (160 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Currently we are using the Jaro-Winkler distance on most of our Faker output to make sure that we do not replace the data with anything that could be similar to the original. (see: https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance) Code: https://github.com/smithoss/gonymizer/blob/master/processors.go#L220

I'm not even sure if this is the right one. I did some research when I first added this to the project, but after reviewing other algorithms, I found that others (based on Levenshtein distance as well) may be a better fit.

Also are these checks pointless since our string size is not the same except for the AlphaNumericScrambler?

貢獻者指南