forked from datamade/usaddress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (48 loc) · 1.85 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
try:
from setuptools import setup
except ImportError:
raise ImportError(
"setuptools module required, please go to "
"https://pypi.python.org/pypi/setuptools and follow the instructions "
"for installing setuptools"
)
setup(
version='0.5.10',
url='https://github.com/datamade/usaddress',
description='Parse US addresses using conditional random fields',
name='usaddress',
packages=['usaddress'],
package_data={'usaddress': ['usaddr.crfsuite']},
license='The MIT License: http://www.opensource.org/licenses/mit-license.php',
install_requires=['python-crfsuite>=0.7',
'future>=0.14',
'probableparsing'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis'],
long_description="""
usaddress is a python library for parsing unstructured address strings into
address components, using advanced NLP methods.
From the python interpreter:
>>> import usaddress
>>> usaddress.parse('123 Main St. Suite 100 Chicago, IL')
[('123', 'AddressNumber'),
('Main', 'StreetName'),
('St.', 'StreetNamePostType'),
('Suite', 'OccupancyType'),
('100', 'OccupancyIdentifier'),
('Chicago,', 'PlaceName'),
('IL', 'StateName')]
"""
)