{ "info": { "author": "Mathieu FRANCK", "author_email": "", "bugtrack_url": null, "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", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# fraddress-parser\nfraddress is a python library for parsing unstructured FR addresses strings into address components using a custom NLP model that learns from patterns. \nThis library relies on the [parserator](https://github.com/datamade/parserator) library.\n\n\n## How to use fraddress\nInstall fraddress with pip.\n```\npip install fraddress\n ```\n\nThen parse some address with parse or tag.\n```\n>>> import fraddress\n>>> fraddress.parse('51 rue Nationale Paris 75006')\n[('51', 'AddressNumber'), ('rue', 'StreetType'), ('Nationale', 'StreetName'), ('Paris', 'City'), ('75006', 'Zipcode')]\n\n>>> fraddress.tag('51 rue Nationale Paris 75006')\nOrderedDict([('AddressNumber', '51'), ('StreetType', 'rue'), ('StreetName', 'Nationale'), ('City', 'Paris'), ('Zipcode', '75006')])\n```\n\n## Check trained patterns\nGo to the training directory and check the file [trained_pattern.txt](https://github.com/fahrtass/fraddress-parser/blob/master/training/trained_pattern.txt) to see which pattern is already known by the model.\n\n\n## How to train a new parser\nAll you need is some training data to teach your parser about its domain, and then [follow the instructions of the U.S version](https://github.com/datamade/usaddress/tree/master/training).\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fahrtass/fraddress-parser", "keywords": "", "license": "The MIT License: http://www.opensource.org/licenses/mit-license.php", "maintainer": "", "maintainer_email": "", "name": "fraddress", "package_url": "https://pypi.org/project/fraddress/", "platform": "", "project_url": "https://pypi.org/project/fraddress/", "project_urls": { "Homepage": "https://github.com/fahrtass/fraddress-parser" }, "release_url": "https://pypi.org/project/fraddress/0.0.4/", "requires_dist": [ "python-crfsuite (>=0.7)", "lxml" ], "requires_python": "", "summary": "Library for parsing unstructured FR addresses strings into address components", "version": "0.0.4" }, "last_serial": 5545021, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "f41daf264cc3be3bcf85efcc3f4a09d7", "sha256": "b693ead3720dafae5554a221660dab3baa86cfe1576316caf1efbc1b534149cd" }, "downloads": -1, "filename": "fraddress-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f41daf264cc3be3bcf85efcc3f4a09d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14623, "upload_time": "2019-07-17T08:29:31", "url": "https://files.pythonhosted.org/packages/bd/3a/3fb3ccf4d7fc91bfaf5bd06631f96f996820d3cf166f0fad85f97f8b0c90/fraddress-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84c3ffca1ddb297fcb31ac85cfb9b4db", "sha256": "1695b901bc711e61c6af311e135fbc379c8123da52ef2095777451cde462e922" }, "downloads": -1, "filename": "fraddress-0.0.3.tar.gz", "has_sig": false, "md5_digest": "84c3ffca1ddb297fcb31ac85cfb9b4db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14314, "upload_time": "2019-07-17T08:29:33", "url": "https://files.pythonhosted.org/packages/9f/96/f55aafa2c09212c0324aa8d10bdc14b42032f50297539c508b53401c841e/fraddress-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e361419fce53fdcf1b0bd89a84ecd25c", "sha256": "7cf30f8a8f6cd4549d3513c3879a489e66aaca06bd68c56288cd03add16fbd6b" }, "downloads": -1, "filename": "fraddress-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e361419fce53fdcf1b0bd89a84ecd25c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15095, "upload_time": "2019-07-17T09:40:15", "url": "https://files.pythonhosted.org/packages/a4/92/2e6ab8d6c935531769075f8a6843ac4171f34b6b4223427edfc2a7e71476/fraddress-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f1f600f7bb9de20c82fb336a1a435d1", "sha256": "f60b779afb514d9aaa527bca9c1a625cacd2e59fd3019e0a2a848d691b6ebdf0" }, "downloads": -1, "filename": "fraddress-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6f1f600f7bb9de20c82fb336a1a435d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15349, "upload_time": "2019-07-17T09:40:17", "url": "https://files.pythonhosted.org/packages/77/14/804f6a1004ad9f0801c38ae3f9809b670a5c102b80378b58f49dfa853e7a/fraddress-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e361419fce53fdcf1b0bd89a84ecd25c", "sha256": "7cf30f8a8f6cd4549d3513c3879a489e66aaca06bd68c56288cd03add16fbd6b" }, "downloads": -1, "filename": "fraddress-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e361419fce53fdcf1b0bd89a84ecd25c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15095, "upload_time": "2019-07-17T09:40:15", "url": "https://files.pythonhosted.org/packages/a4/92/2e6ab8d6c935531769075f8a6843ac4171f34b6b4223427edfc2a7e71476/fraddress-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f1f600f7bb9de20c82fb336a1a435d1", "sha256": "f60b779afb514d9aaa527bca9c1a625cacd2e59fd3019e0a2a848d691b6ebdf0" }, "downloads": -1, "filename": "fraddress-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6f1f600f7bb9de20c82fb336a1a435d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15349, "upload_time": "2019-07-17T09:40:17", "url": "https://files.pythonhosted.org/packages/77/14/804f6a1004ad9f0801c38ae3f9809b670a5c102b80378b58f49dfa853e7a/fraddress-0.0.4.tar.gz" } ] }