diff --git a/flanker/addresslib/corrector.py b/flanker/addresslib/corrector.py index 49886210..970b839d 100644 --- a/flanker/addresslib/corrector.py +++ b/flanker/addresslib/corrector.py @@ -35,37 +35,203 @@ def suggest(word, cutoff=0.77): # mailgun :) 'mailgun.net', # big esps - 'yahoo.com', - 'yahoo.ca', - 'yahoo.co.jp', - 'yahoo.co.uk', - 'yahoo.com.br', - 'ymail.com', - 'hotmail.com', - 'hotmail.ca', - 'hotmail.co.uk', - 'windowslive.com', - 'live.com', - 'outlook.com', - 'msn.com', + '163.com', + 'aim.com', + 'alice.it', + 'aol.co.uk', + 'aol.com', + 'att.net', + 'azet.sk', + 'bell.net', + 'bellsouth.net', + 'bigpond.com', + 'bigpond.com.au', + 'bigpond.net.au', + 'bluewin.ch', + 'blueyonder.co.uk', + 'bol.com.br', + 'btinternet.com', + 'btopenworld.com', + 'cableone.net', + 'centrum.sk', + 'centurylink.net', + 'centurytel.net', + 'charter.net', + 'comcast.net', + 'cox.net', + 'cs.com', + 'earthlink.net', + 'email.com', + 'email.cz', + 'email.it', + 'embarqmail.com', + 'excite.com', + 'fastwebnet.it', + 'free.fr', + 'freemail.hu', + 'freenet.de', + 'frontier.com', + 'frontiernet.net', + 'fuse.net', 'gmail.com', + 'gmx.at', + 'gmx.ch', + 'gmx.com', + 'gmx.de', + 'gmx.net', + 'google.com', 'googlemail.com', - 'aol.com', - 'aim.com', + 'hanmail.net', + 'home.nl', + 'hotmail.be', + 'hotmail.ca', + 'hotmail.co.jp', + 'hotmail.co.nz', + 'hotmail.co.uk', + 'hotmail.com', + 'hotmail.com.ar', + 'hotmail.com.au', + 'hotmail.de', + 'hotmail.es', + 'hotmail.fr', + 'hotmail.gr', + 'hotmail.it', + 'hotmail.nl', + 'hotmail.no', + 'hotmail.se', + 'hughes.net', 'icloud.com', - 'me.com', + 'iinet.net.au', + 'inbox.lv', + 'inbox.ru', + 'interia.pl', + 'juno.com', + 'laposte.net', + 'libero.it', + 'list.ru', + 'live.be', + 'live.ca', + 'live.co.uk', + 'live.com', + 'live.com.ar', + 'live.com.au', + 'live.com.mx', + 'live.de', + 'live.dk', + 'live.fr', + 'live.it', + 'live.nl', + 'live.no', + 'live.se', 'mac.com', - 'facebook.com', - # big isps - 'comcast.net', + 'mail.com', + 'mail.ru', + 'me.com', + 'microsoft.com', + 'mindspring.com', + 'msn.com', + 'naver.com', + 'nc.rr.com', + 'netscape.net', + 'netspace.net.au', + 'netzero.com', + 'netzero.net', + 'neuf.fr', + 'nhs.net', + 'ntlworld.com', + 'o2.pl', + 'online.no', + 'optimum.net', + 'optonline.net', + 'optusnet.com.au', + 'orange.fr', + 'ostrovok.ru', + 'outlook.com', + 'outlook.com.au', + 'outlook.de', + 'outlook.es', + 'outlook.fr', + 'outlook.it', + 'pacbell.net', + 'planet.nl', + 'prodigy.net', + 'prodigy.net.mx', + 'protonmail.com', + 'q.com', + 'qq.com', + 'rambler.ru', + 'reagan.com', + 'rediffmail.com', + 'roadrunner.com', + 'rocketmail.com', + 'rogers.com', 'sbcglobal.net', - 'bellsouth.net', - 'verizon.net', - 'earthlink.net', - 'cox.net', - 'charter.net', + 'seznam.cz', + 'sfr.fr', 'shaw.ca', - 'bell.net' + 'sky.com', + 'skynet.be', + 'suddenlink.net', + 'swbell.net', + 'sympatico.ca', + 't-online.de', + 'talktalk.net', + 'telefonica.net', + 'telenet.be', + 'telfort.nl', + 'telia.com', + 'telus.net', + 'telusplanet.net', + 'tiscali.co.uk', + 'tiscali.it', + 'ukr.net', + 'uol.com.br', + 'usa.net', + 'vepl.com', + 'verizon.net', + 'videotron.ca', + 'virgilio.it', + 'virgin.net', + 'virginmedia.com', + 'wanadoo.fr', + 'web.de', + 'windowslive.com', + 'windstream.net', + 'wp.pl', + 'xs4all.nl', + 'xtra.co.nz', + 'y7mail.com', + 'ya.ru', + 'yahoo.ca', + 'yahoo.co.id', + 'yahoo.co.in', + 'yahoo.co.jp', + 'yahoo.co.nz', + 'yahoo.co.uk', + 'yahoo.com', + 'yahoo.com.ar', + 'yahoo.com.au', + 'yahoo.com.br', + 'yahoo.com.hk', + 'yahoo.com.mx', + 'yahoo.com.my', + 'yahoo.com.ph', + 'yahoo.com.sg', + 'yahoo.com.tw', + 'yahoo.de', + 'yahoo.es', + 'yahoo.fr', + 'yahoo.gr', + 'yahoo.ie', + 'yahoo.in', + 'yahoo.it', + 'yahoo.no', + 'yahoo.se', + 'yandex.com', + 'yandex.ru', + 'ymail.com', + 'ziggo.nl', + 'zoominternet.net' ] # domains that the corrector doesn't fix that we should fix diff --git a/setup.py b/setup.py index d9f736a1..18c1b392 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup(name='flanker', - version='0.7.3', + version='0.7.4', description='Mailgun Parsing Tools', long_description=open('README.rst').read(), classifiers=[],