{ "info": { "author": "Renaud Richardet", "author_email": "renaud@apache.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Human Machine Interfaces", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Build Tools", "Topic :: Text Processing", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: General", "Topic :: Text Processing :: Indexing", "Topic :: Text Processing :: Linguistic" ], "description": "A Python client for Sherlok\n===========================\n\n`Sherlok `_ is a flexible and powerful open source, distributed, real-time text-mining engine.\n\n\n\n.. code:: python\n\n pip install --upgrade sherlok\n\n from sherlok import Sherlok\n\n s = Sherlok('neuroner')\n\n # returns a list of tuples (begin, end, text, annotation_type, attributes{})\n print s.annotate('layer 4 neuron')\n\n [(0, 14, 'layer 4 neuron', u'Neuron', {}),\n (8, 14, 'neuron', u'Neuron', {}),\n (8, 14, 'neuron', u'NeuronTrigger', {}),\n (0, 7, 'layer 4', u'Layer', {u'ontologyId': u'HBP_LAYER:0000004'})]\n\n\n # filtering and finding the text back\n txt = 'parvalbumin-positive fast-spiking basket cells, somatostatin-positive regular-spiking bipolar and multipolar cells, and cholecystokinin-positive irregular-spiking bipolar and multipolar cells'\n morphology = s.annotate(txt, u'Morphology')\n for (start, end, text, _type, properties) in morphology:\n print text, properties[u'ontologyId']\n\n basket HBP_MORPHOLOGY:0000019\n bipolar HBP_MORPHOLOGY:0000006\n multipolar HBP_MORPHOLOGY:0000035\n bipolar HBP_MORPHOLOGY:0000006\n multipolar HBP_MORPHOLOGY:0000035", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sherlok/sherlok-python", "keywords": "distributed RESTful text mining", "license": "Apache License (2.0)", "maintainer": null, "maintainer_email": null, "name": "sherlok", "package_url": "https://pypi.org/project/sherlok/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sherlok/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sherlok/sherlok-python" }, "release_url": "https://pypi.org/project/sherlok/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "A Python client for Sherlok", "version": "0.1.6" }, "last_serial": 1820513, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "608ff734be4da5618f7eda44f4fd0275", "sha256": "8088ed223a30d85f93d8cad4ada0810c79757cb425156f6eccc0fca264f2d413" }, "downloads": -1, "filename": "sherlok-0.1.3.tar.gz", "has_sig": false, "md5_digest": "608ff734be4da5618f7eda44f4fd0275", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2343, "upload_time": "2015-03-04T15:39:33", "url": "https://files.pythonhosted.org/packages/a3/b0/968af0279d8b71f8079305075ee82ed02ecaf23a8ef52d30f2747ebe97e8/sherlok-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "783a6e7e8405494b9c97dc2d1a7ae6e8", "sha256": "d5bf29a7c1bd43652aa87ec8b2345772782c84d0da6278ce2d9b7c85c5209427" }, "downloads": -1, "filename": "sherlok-0.1.4.tar.gz", "has_sig": false, "md5_digest": "783a6e7e8405494b9c97dc2d1a7ae6e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2324, "upload_time": "2015-03-20T07:24:19", "url": "https://files.pythonhosted.org/packages/2a/d8/04b137f8e747025926abfd0a77306b94e1626cbbc860702c41986f1dbac2/sherlok-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "23a4b767fb0b4a8fb6108fa2a31cfe96", "sha256": "34b61df87c2d276255e04372dbc6d3f35c91338a3a897b771088a9769a2bd2d5" }, "downloads": -1, "filename": "sherlok-0.1.5.tar.gz", "has_sig": false, "md5_digest": "23a4b767fb0b4a8fb6108fa2a31cfe96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2580, "upload_time": "2015-07-10T09:43:27", "url": "https://files.pythonhosted.org/packages/2c/ea/e506b78434959c319d5430161c9651bbc1c8d74947fb71988df127bad0cb/sherlok-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "761705aa9dafd4a1041a48c09f776856", "sha256": "6f11805d5b9cac9c6cee06661859908f187964f30c216ac3928eef4dc56b07dc" }, "downloads": -1, "filename": "sherlok-0.1.6.tar.gz", "has_sig": false, "md5_digest": "761705aa9dafd4a1041a48c09f776856", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2785, "upload_time": "2015-11-17T13:50:50", "url": "https://files.pythonhosted.org/packages/37/b3/36b0d32264d54edb67c0a1c34068671e963a7671ece558941f774e7c4912/sherlok-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "761705aa9dafd4a1041a48c09f776856", "sha256": "6f11805d5b9cac9c6cee06661859908f187964f30c216ac3928eef4dc56b07dc" }, "downloads": -1, "filename": "sherlok-0.1.6.tar.gz", "has_sig": false, "md5_digest": "761705aa9dafd4a1041a48c09f776856", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2785, "upload_time": "2015-11-17T13:50:50", "url": "https://files.pythonhosted.org/packages/37/b3/36b0d32264d54edb67c0a1c34068671e963a7671ece558941f774e7c4912/sherlok-0.1.6.tar.gz" } ] }