roihala / stocker

0 stars 0 forks source link

Fix sympathy #446

Open roihala opened 3 years ago

roihala commented 3 years ago

Right now, it uses levenshtein distance to search for sympathy, which may cause false positives, e.g: Director added: 🟢 Cao Zhong 🟡 Detected Cao Zhong in AVIX, EGOC where AVIX only has a director called Tao Zhong.

Search the web for other methods to compare people names in a db

ItayShmuel commented 2 years ago

Found this module that compares people's names, https://github.com/rliebz/whoswho. Usage: from whoswho import who who.match('Cao Zhong', 'Tao Zhong')