{ "info": { "author": "Yohan Boniface", "author_email": "yohan.boniface@data.gouv.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: GIS" ], "description": "# Addok-trigrams\n\nAlternative indexation pattern for Addok, based on trigrams.\n\n\n## Installation\n\n pip install addok-trigrams\n\n\n## Configuration\n\nIn your local configuration file:\n\n- remove unwanted RESULTS_COLLECTORS_PYPATHS:\n\n from addok.config.default import RESULTS_COLLECTORS_PYPATHS\n RESULTS_COLLECTORS_PYPATHS.remove('addok.helpers.collectors.extend_results_reducing_tokens')\n RESULTS_COLLECTORS_PYPATHS.remove('addok.autocomplete.only_commons_but_geohash_try_autocomplete_collector')\n RESULTS_COLLECTORS_PYPATHS.remove('addok.autocomplete.no_meaningful_but_common_try_autocomplete_collector')\n RESULTS_COLLECTORS_PYPATHS.remove('addok.autocomplete.only_commons_try_autocomplete_collector')\n RESULTS_COLLECTORS_PYPATHS.remove('addok.autocomplete.autocomplete_meaningful_collector')\n RESULTS_COLLECTORS_PYPATHS.remove('addok.fuzzy.fuzzy_collector')\n\n- remove all `autocomplete` and `fuzzy` RESULTS_COLLECTORS_PYPATHS, add new ones:\n\n RESULTS_COLLECTORS_PYPATHS += [\n 'addok_trigrams.extend_results_removing_numbers',\n 'addok_trigrams.extend_results_removing_one_whole_word',\n 'addok_trigrams.extend_results_removing_successive_trigrams',\n ]\n\n- add `trigramize` to PROCESSORS_PYPATHS:\n\n from addok.config.default import PROCESSORS_PYPATHS\n PROCESSORS_PYPATHS += [\n 'addok_trigrams.trigramize',\n ]\n\n- remove pairs and autocomplete indexers from `INDEXERS_PYPATHS`:\n\n from addok.config.default import INDEXERS_PYPATHS\n INDEXERS_PYPATHS.remove('addok.pairs.PairsIndexer')\n INDEXERS_PYPATHS.remove('addok.autocomplete.EdgeNgramIndexer')\n\nBy default, digit only words are not turned into trigrams. To prevent this,\nset `TRIGRAM_SKIP_DIGIT=False`.\n\n\n## Usage\n\nUse `addok batch` just like with genuine addok for importing documents, but no\nneed for running `addok ngrams`, given they are already part of the index\nstrategy.\n\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/addok/addok-trigrams", "keywords": "addok geocoding", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "addok-trigrams", "package_url": "https://pypi.org/project/addok-trigrams/", "platform": "", "project_url": "https://pypi.org/project/addok-trigrams/", "project_urls": { "Homepage": "https://github.com/addok/addok-trigrams" }, "release_url": "https://pypi.org/project/addok-trigrams/1.1.1/", "requires_dist": [ "addok", "pytest; extra == 'test'" ], "requires_python": "", "summary": "Trigram based algorithm for Addok.", "version": "1.1.1" }, "last_serial": 4081221, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "92e6d09182fddbfc083be00c751d6be5", "sha256": "90edbe9d0509725501d39a79d198d838958ce10cb01fdd1ef96eadec3d774727" }, "downloads": -1, "filename": "addok_trigrams-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "92e6d09182fddbfc083be00c751d6be5", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4413, "upload_time": "2017-04-20T16:19:59", "url": "https://files.pythonhosted.org/packages/fb/94/038eadd63b03a3281003e8a0cd2dd797d4eace8c04973185e244560d3a5d/addok_trigrams-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d954b8645fbf2e9b4edd65247fae913", "sha256": "bf7f2b054a204d006a57bc7de8849ad8bbb07029f995bceb88f1716aba814bbe" }, "downloads": -1, "filename": "addok-trigrams-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7d954b8645fbf2e9b4edd65247fae913", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2954, "upload_time": "2017-04-20T16:19:58", "url": "https://files.pythonhosted.org/packages/84/74/2dedd16c947feb709975e245e43444d49edc792280d6bad89bd1b3cb6489/addok-trigrams-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "8ae0809e625f0eeb648d094b95dcd6eb", "sha256": "d951755463b2670a1c9b91b38e157197bdd1775366b6bf0f8bf339a709354cf1" }, "downloads": -1, "filename": "addok_trigrams-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8ae0809e625f0eeb648d094b95dcd6eb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3370, "upload_time": "2018-06-19T14:44:35", "url": "https://files.pythonhosted.org/packages/09/af/3d550c9e809daff62bbd0de047de68a6a774f79869ddc8207bd59be694be/addok_trigrams-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c9d4ef241ffc3e00169fb7711b85e29c", "sha256": "98225a1096002173e08fd1f57fe7dfada7201925e80dda0cfc04571de08cb078" }, "downloads": -1, "filename": "addok-trigrams-1.1.0.tar.gz", "has_sig": false, "md5_digest": "c9d4ef241ffc3e00169fb7711b85e29c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3304, "upload_time": "2018-06-19T14:44:36", "url": "https://files.pythonhosted.org/packages/cf/ba/e67faf6c3a15bc841fb94a2d149707b2fd84ef67dae709661c68e2b077c2/addok-trigrams-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "bfa60fc5b1c923323679ac332828756e", "sha256": "af2bb4b87cd116ab92da2b2e658cddcb894d438e83c58b0482c9fd92ba4752dd" }, "downloads": -1, "filename": "addok_trigrams-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfa60fc5b1c923323679ac332828756e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3399, "upload_time": "2018-07-19T09:14:41", "url": "https://files.pythonhosted.org/packages/ef/fa/883eb846c6c26bcaeae3256e9c7e326d1765c1011c04d84f5d29f9aae23e/addok_trigrams-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74476eae2b61dd7434d03a1fc74cef23", "sha256": "7a7a0f3055f83e2c27b2fb5df2292317f707326b56bb1020e420e63dd1875ef0" }, "downloads": -1, "filename": "addok-trigrams-1.1.1.tar.gz", "has_sig": false, "md5_digest": "74476eae2b61dd7434d03a1fc74cef23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3348, "upload_time": "2018-07-19T09:14:42", "url": "https://files.pythonhosted.org/packages/d2/75/e118256b0042a35914f3063ac4efe0237d525e6a0a5c138ec4f6b18679cb/addok-trigrams-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfa60fc5b1c923323679ac332828756e", "sha256": "af2bb4b87cd116ab92da2b2e658cddcb894d438e83c58b0482c9fd92ba4752dd" }, "downloads": -1, "filename": "addok_trigrams-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfa60fc5b1c923323679ac332828756e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3399, "upload_time": "2018-07-19T09:14:41", "url": "https://files.pythonhosted.org/packages/ef/fa/883eb846c6c26bcaeae3256e9c7e326d1765c1011c04d84f5d29f9aae23e/addok_trigrams-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74476eae2b61dd7434d03a1fc74cef23", "sha256": "7a7a0f3055f83e2c27b2fb5df2292317f707326b56bb1020e420e63dd1875ef0" }, "downloads": -1, "filename": "addok-trigrams-1.1.1.tar.gz", "has_sig": false, "md5_digest": "74476eae2b61dd7434d03a1fc74cef23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3348, "upload_time": "2018-07-19T09:14:42", "url": "https://files.pythonhosted.org/packages/d2/75/e118256b0042a35914f3063ac4efe0237d525e6a0a5c138ec4f6b18679cb/addok-trigrams-1.1.1.tar.gz" } ] }