kitbogashow / how-to-fix-paypal

Various ways to filter text emails to stop scammers from exploiting PayPal's invoice system.
MIT License
46 stars 31 forks source link

Fuzzy matching #45

Open lateknighterfighter opened 1 year ago

lateknighterfighter commented 1 year ago

This branch (in fuzzyMethod.py) uses Fuzzy String Matching to measure the similarity of a string input to any of the lines in invoices.txt

lateknighterfighter commented 1 year ago

to use this contribution:

1. run: pip install -r requirements.txt
    or if that doesn't work run: pip install python-Levenshtein fuzzywuzzy

2. run: python fuzzy_way.py