{ "info": { "author": "Qwant", "author_email": "robin@qwantresearch.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Address Detector\n==============================\n\nHow to detect if a user query might be an address and requires to launch a map answer.\n\n\n\n\nProject Modules\n------------\nThe project implements 3 classifiers, using an a la scikit template.\n\nThe first classifier is a simple scorer classifier, based on the parsing result of the address parser libpostal (https://github.com/openvenues/libpostal)\nAccording to how the parser manage to work, and which fields are parsed, we make a score and decide if an address or not.\n\nThe second classifier is based on the FastText classifier trained on address data. The fasttext makes an embedding of the differents address it sees and therefore when a new address is submitted if it's in a close spaceto what have been learned.\nThe classifier is pre-trained, and the Fasttext zip model is store within the package.\n\nThe third classifier is a voting classifier combining the results of the two previous classifiers.\n\n\nProject Dependencies\n------------\n####Installation of Postal:\nBefore you install `Postal` , make sure you have the following prerequisites:\n```\nsudo apt-get install curl autoconf automake libtool pkg-config\n```\n\nThen to install the C library:\n\n```\ngit clone https://github.com/openvenues/libpostal\ncd libpostal\n./bootstrap.sh\n./configure --datadir=[...some dir with a few GB of space...]\nmake\nsudo make install\n\n# On Linux it's probably a good idea to run\nsudo ldconfig\n```\n#### Installation of FastText\nIn order to build `fastText`, use the following:\n\n```\n$ git clone https://github.com/facebookresearch/fastText.git\n$ cd fastText\n$ make\n```\n\n\n\n=======\nHistory\n=======\n\n0.1.0 (2017-10-25)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rdoume/addr_detector", "keywords": "addr_detector", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "addr-detector", "package_url": "https://pypi.org/project/addr-detector/", "platform": "", "project_url": "https://pypi.org/project/addr-detector/", "project_urls": { "Homepage": "https://github.com/rdoume/addr_detector" }, "release_url": "https://pypi.org/project/addr-detector/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Python address detector", "version": "0.2.1" }, "last_serial": 3341740, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "93b99a1141974c994ba9a6dfaa17693b", "sha256": "5e00115bc0ff3b225150da64649250a7f251b7729cb939cb44c4504f7cfc3868" }, "downloads": -1, "filename": "addr_detector-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "93b99a1141974c994ba9a6dfaa17693b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 30848489, "upload_time": "2017-10-31T13:37:43", "url": "https://files.pythonhosted.org/packages/45/ce/5f9b82283e8d171c2989838c96a285d9c6b122bc3f6e4a03473541eb28ed/addr_detector-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c678a0db094e2cb0b998cdab20d2892", "sha256": "758f1239ba0847ddc7b6f003446dad620779e8d02d975c93c292487c2c37ac9f" }, "downloads": -1, "filename": "addr_detector-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "6c678a0db094e2cb0b998cdab20d2892", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 609160, "upload_time": "2017-10-31T13:28:59", "url": "https://files.pythonhosted.org/packages/dd/3f/efdb073f8046ee5322020cd84773b971eed8eb0fe4a1b9ffee130680f9d8/addr_detector-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "82d3368f70411dd6dba6fc940ef51028", "sha256": "c919979bdd07daab44f97bce77d654255d315c09d59676933967e5acd56a1928" }, "downloads": -1, "filename": "addr_detector-0.1.0.tar.gz", "has_sig": false, "md5_digest": "82d3368f70411dd6dba6fc940ef51028", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 165874, "upload_time": "2017-10-31T13:29:01", "url": "https://files.pythonhosted.org/packages/87/57/a983e9fb558371e4e4fc1475c4d7291f1d153356cead1321a3ba8ed8c50f/addr_detector-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9b536d5f21aa1d6e768a4e02bc9376ae", "sha256": "b619df8f3ce9d437aa061d0c4be74d79a73543c074d3790c49af9c87ea22ea0e" }, "downloads": -1, "filename": "addr_detector-0.1.1-py3.6.egg", "has_sig": false, "md5_digest": "9b536d5f21aa1d6e768a4e02bc9376ae", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 20342377, "upload_time": "2017-11-02T13:35:10", "url": "https://files.pythonhosted.org/packages/16/88/5609bcc17b76f9357ecb6ec6e4d42f0621efe41be93cb0d3276fc3d5be9a/addr_detector-0.1.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "b3f21ccd9386cc296c8b21654b359ec0", "sha256": "4a81faf1624d902541c9c04343ac01fb1b6ef4f2f976075a931c6548abd771ad" }, "downloads": -1, "filename": "addr_detector-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b3f21ccd9386cc296c8b21654b359ec0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10159079, "upload_time": "2017-11-02T13:35:20", "url": "https://files.pythonhosted.org/packages/6d/f1/1bcf65416f9db13594a229b0b3a1c723593820e35e6887b97b076cfd3207/addr_detector-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "824b1efaf887658087e5a0df51240334", "sha256": "d414f7b0dc77665bee8960a8672af2664bb160499e5e5f773af906b65e00defa" }, "downloads": -1, "filename": "addr_detector-0.1.2-py3.5.egg", "has_sig": false, "md5_digest": "824b1efaf887658087e5a0df51240334", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 20342786, "upload_time": "2017-11-09T09:19:06", "url": "https://files.pythonhosted.org/packages/8e/41/714e3d17fcc18073ad8ef7d823aed3cf67ffecc6baf557102d1af8916b91/addr_detector-0.1.2-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "24683a0a14575192c53c4ad6ace82b25", "sha256": "601b5e5dc6421f07c00b8e331d46499b13b0a921bc641645521de19c59fbff7d" }, "downloads": -1, "filename": "addr_detector-0.1.2-py3.6.egg", "has_sig": false, "md5_digest": "24683a0a14575192c53c4ad6ace82b25", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 20342641, "upload_time": "2017-11-07T14:36:29", "url": "https://files.pythonhosted.org/packages/29/19/3006050d9f21d777a4227a0c29824b80762f10265849d143883e16c54640/addr_detector-0.1.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "3ccb0eb41ce23a397998a23868adaba9", "sha256": "263ad0bf46e974929c716ca20cc8a4fcab9cc2f9f4a18d39c1e33d29f64fa397" }, "downloads": -1, "filename": "addr_detector-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3ccb0eb41ce23a397998a23868adaba9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10159270, "upload_time": "2017-11-07T14:36:43", "url": "https://files.pythonhosted.org/packages/99/9a/6f13c71f5efd3ed38f2db521f7e434f740b9f2af77716ad787627fc65a83/addr_detector-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c1283b74d2f25556c68aa7e3cdf7b189", "sha256": "c3553f7c268b895eb66632f97622e92cd53b926b501bdb1636e44e115d7ae53d" }, "downloads": -1, "filename": "addr_detector-0.1.3-py3.5.egg", "has_sig": false, "md5_digest": "c1283b74d2f25556c68aa7e3cdf7b189", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 20342787, "upload_time": "2017-11-09T09:21:32", "url": "https://files.pythonhosted.org/packages/f4/58/6c337793716fc4ea940497cec9d46113650b30c659a2c6093b43e4503e16/addr_detector-0.1.3-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "33e75b37ac627057aef88505da1609c1", "sha256": "1549a93d1378943d34fc36261bb9c8a3a62fbebf69e49504294716983149fb6f" }, "downloads": -1, "filename": "addr_detector-0.1.3.tar.gz", "has_sig": false, "md5_digest": "33e75b37ac627057aef88505da1609c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10159295, "upload_time": "2017-11-09T09:21:47", "url": "https://files.pythonhosted.org/packages/ab/5c/643f8a0a58b661825453a638b1532054a78ecf19b4d9e391c27ec868db5b/addr_detector-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "62e6ae44afbc4e474a3784c3649670df", "sha256": "ba2de99149b97fa1001da76ce9eef8d94060fd92ceb4fa6b513df27a7e73655a" }, "downloads": -1, "filename": "addr_detector-0.2.0.tar.gz", "has_sig": false, "md5_digest": "62e6ae44afbc4e474a3784c3649670df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10159422, "upload_time": "2017-11-14T13:43:42", "url": "https://files.pythonhosted.org/packages/ab/c8/bbf55cf86ba446d8756e269437b538f6b967babc76a38d63ac8ee3c833ae/addr_detector-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c047c38894b03143406d25941c402a29", "sha256": "fa234d7c48d00411ba2c9150297e034daf5b39a50b33e84b2ca6db6b8ea93f94" }, "downloads": -1, "filename": "addr_detector-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c047c38894b03143406d25941c402a29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52841008, "upload_time": "2017-11-17T16:00:24", "url": "https://files.pythonhosted.org/packages/75/2b/18b4f722085eac23257c491f0539cb1045f8a155301a72a6242e1e543f8e/addr_detector-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c047c38894b03143406d25941c402a29", "sha256": "fa234d7c48d00411ba2c9150297e034daf5b39a50b33e84b2ca6db6b8ea93f94" }, "downloads": -1, "filename": "addr_detector-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c047c38894b03143406d25941c402a29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52841008, "upload_time": "2017-11-17T16:00:24", "url": "https://files.pythonhosted.org/packages/75/2b/18b4f722085eac23257c491f0539cb1045f8a155301a72a6242e1e543f8e/addr_detector-0.2.1.tar.gz" } ] }