{ "info": { "author": "J\u00fcrgen Knauth", "author_email": "pubsrc@binary-overflow.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.5" ], "description": "\ufeffjk_treetaggerwrapper\n====================\n\nIntroduction\n------------\n\nThis python module provides a wrapper around treetagger. Currently this module makes use of module `treetaggerwrapper` but this depency will be changed in the future.\n\nInformation about this module can be found here:\n\n* [github.org](https://github.com/jkpubsrc/python-module-jk-treetaggerwrapper)\n* [pypi.python.org](https://pypi.python.org/pypi/jk_treetaggerwrapper)\n\nHow to use this module\n----------------------\n\nExample:\n\n```python\npool = PoolOfThreadedTreeTaggers(\"/path/to/treetagger\")\n\nresult = pool.tagText2(\"en\", \"The sun is shining and the children are smiling.\")\n```\n\nIn order to tag a text you first need to instantiate a pool of taggers. Then you can invoke `tagText2()` in order to temporarily allocate an instance of `TreeTagger` in the background and perform the PoS tagging.\n\nNOTE: Invoking `tagText()` is discouraged as it has been replaced with a better implementation. Nevertheless it is still available for compatibility reasons.\n\nFour arguments can be specified:\n\n* langID : A string that contains the ID of the language of the text to tag.\n* text : The text to tag.\n* bWithConfidence : A boolean value that indicates whether to return the result together with confidence value or without.\n* bWithNullsInsteadOfUnknown : A boolean value that indicates whether or not to convert \">unknown<\" to a null-value.\n\nThe result is always a list with tuples. Each tuple has the following struture:\n\n* The token itself.\n* The assigned tag.\n* The lemma.\n* The confidence value.\n\nThe group consisting of tag-lemma-confidence can be returned multiple times. For example:\n\n* The token itself.\n* The assigned tag 1.\n* The lemma 1.\n* The confidence value 1.\n* The assigned tag 2 (as an alternative).\n* The lemma 2 (as an alternative).\n* The confidence value 2 (as an alternative).\n\nConcurrency\n-----------\n\nPlease note that this library is based on `treetaggerwrapper` which follows a thread-based concurrency model. On tagging `treetaggerwrapper` instantiates a TreeTagger background process that is alive for the duration of the `treetaggerwrapper` object. This `treetaggerwrapper` object then communicates with this background process and uses threads for this purpose. Therefor the class `PoolOfThreadedTreeTaggers` provided by `jk_treetaggerwrapper` is bound to this limitation.\n\nContact Information\n-------------------\n\nThis is Open Source code. That not only gives you the possibility of freely using this code it also\nallows you to contribute. Feel free to contact the author(s) of this software listed below, either\nfor comments, collaboration requests, suggestions for improvement or reporting bugs:\n\n* J\u00fcrgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de\n\nLicense\n-------\n\nThis software is provided under the following license:\n\n* Apache Software License 2.0\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jkpubsrc/python-module-jk-treetaggerwrapper/tarball/0.2018.12.28", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jkpubsrc/python-module-jk-treetaggerwrapper", "keywords": "treetagger", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "jk_treetaggerwrapper", "package_url": "https://pypi.org/project/jk_treetaggerwrapper/", "platform": "", "project_url": "https://pypi.org/project/jk_treetaggerwrapper/", "project_urls": { "Download": "https://github.com/jkpubsrc/python-module-jk-treetaggerwrapper/tarball/0.2018.12.28", "Homepage": "https://github.com/jkpubsrc/python-module-jk-treetaggerwrapper" }, "release_url": "https://pypi.org/project/jk_treetaggerwrapper/0.2018.12.28/", "requires_dist": null, "requires_python": "", "summary": "This python module provides a wrapper around treetagger.", "version": "0.2018.12.28" }, "last_serial": 4640387, "releases": { "0.2018.12.14": [ { "comment_text": "", "digests": { "md5": "c1f3b31c4dd3d34bbcb87661ccce4953", "sha256": "a89fc69923701e7537ebc9f66c6d65b83ead84a1fd7a99963d3ead69568960b9" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.14.tar.gz", "has_sig": false, "md5_digest": "c1f3b31c4dd3d34bbcb87661ccce4953", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4402, "upload_time": "2018-12-14T14:55:42", "url": "https://files.pythonhosted.org/packages/98/42/b4639f4113c31680c44637c5a6e411df3bddf7162fb917e4727389f54b14/jk_treetaggerwrapper-0.2018.12.14.tar.gz" } ], "0.2018.12.14.1": [ { "comment_text": "", "digests": { "md5": "bc1dfcb925a002a48034d8beeb3d443d", "sha256": "ab2648f46649f91a3ab9dcd4f6fbadd29047965c8719a0409e3a60f17d9a5f39" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.14.1.tar.gz", "has_sig": false, "md5_digest": "bc1dfcb925a002a48034d8beeb3d443d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4405, "upload_time": "2018-12-14T14:57:12", "url": "https://files.pythonhosted.org/packages/94/af/f20ba6da3f8ef6851b8d0fdbe4bac722d272c16c6d1c456d194ea9ec16df/jk_treetaggerwrapper-0.2018.12.14.1.tar.gz" } ], "0.2018.12.16": [ { "comment_text": "", "digests": { "md5": "94be61cf0b7e2ff39f0bc24eb5697990", "sha256": "9ff89100e8322cc9ab9d293e9bd86ef92310abce87f52da1c328f927c2476c50" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.16.tar.gz", "has_sig": false, "md5_digest": "94be61cf0b7e2ff39f0bc24eb5697990", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7619, "upload_time": "2018-12-16T10:18:15", "url": "https://files.pythonhosted.org/packages/8d/0f/ee3faad8d6850bb50e716d4abf0bc13b7ca9774dd50ab32b855f52b28c7b/jk_treetaggerwrapper-0.2018.12.16.tar.gz" } ], "0.2018.12.16.1": [ { "comment_text": "", "digests": { "md5": "f49cf2cff3dc3abdea38579148afb8d0", "sha256": "727d6e61fea01e9dcd67a178208949079415a381f0ff42ebe777320353dd2ea2" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.16.1.tar.gz", "has_sig": false, "md5_digest": "f49cf2cff3dc3abdea38579148afb8d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7631, "upload_time": "2018-12-16T10:46:56", "url": "https://files.pythonhosted.org/packages/f6/57/c11532529f2cfee28df494c14081f3b9487d90cf3c62b47dc1b6425fb074/jk_treetaggerwrapper-0.2018.12.16.1.tar.gz" } ], "0.2018.12.17": [ { "comment_text": "", "digests": { "md5": "a082908dcb17f4a7625453d4528322d4", "sha256": "4cf65b7bd8a11839da2789e36fd8d2856429774921dd4bc19944f92c690f8e6b" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.17.tar.gz", "has_sig": false, "md5_digest": "a082908dcb17f4a7625453d4528322d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7626, "upload_time": "2018-12-18T00:58:52", "url": "https://files.pythonhosted.org/packages/c2/ed/6ae95446a98771ea0cc2bc216d0f00b3fb753b64cfc610336f66703fc3e4/jk_treetaggerwrapper-0.2018.12.17.tar.gz" } ], "0.2018.12.19": [ { "comment_text": "", "digests": { "md5": "3bb49eec7dfb8a4de12861eed4ffe880", "sha256": "478f10bcb47438e13a4ea7de296f181d08550e5e6472573f7401bf7b4a06c4eb" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.19.tar.gz", "has_sig": false, "md5_digest": "3bb49eec7dfb8a4de12861eed4ffe880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7688, "upload_time": "2018-12-19T20:40:54", "url": "https://files.pythonhosted.org/packages/b4/e9/63e104133c70ddad5b0741455f742046ce67644d5ea0e397726ff6f0cf45/jk_treetaggerwrapper-0.2018.12.19.tar.gz" } ], "0.2018.12.19.1": [ { "comment_text": "", "digests": { "md5": "e6291e9dac6e9be1e9fe5c47f3fffcbf", "sha256": "5d312848c80dd2b3e128e88a86bc8d2e6742cc3ce6e724828262cdb3d92ce1f9" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.19.1.tar.gz", "has_sig": false, "md5_digest": "e6291e9dac6e9be1e9fe5c47f3fffcbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7833, "upload_time": "2018-12-19T21:51:49", "url": "https://files.pythonhosted.org/packages/9a/d8/e08b8f3b802ede7d7708060916cbcbd84ac6777cd8a43b94e4d752a512e4/jk_treetaggerwrapper-0.2018.12.19.1.tar.gz" } ], "0.2018.12.19.2": [ { "comment_text": "", "digests": { "md5": "613464da74003873adfd4cc91bb16287", "sha256": "33296f32be4e400251bf3d0b13263b1475327eb5347ba4f5de280ab6a63e7105" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.19.2.tar.gz", "has_sig": false, "md5_digest": "613464da74003873adfd4cc91bb16287", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7848, "upload_time": "2018-12-20T06:45:10", "url": "https://files.pythonhosted.org/packages/c3/bd/a73814d880c9479583060a0d5ff6cb21dfb518d1378172ad7d5ecb10a2e0/jk_treetaggerwrapper-0.2018.12.19.2.tar.gz" } ], "0.2018.12.28": [ { "comment_text": "", "digests": { "md5": "6782450156cf28b3bf6ed1e320a0cd9c", "sha256": "50e46edee48f133c8cdb767b2f3c566d1a864f61c623e286f3e9ef568456c159" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.28.tar.gz", "has_sig": false, "md5_digest": "6782450156cf28b3bf6ed1e320a0cd9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7863, "upload_time": "2018-12-28T09:01:21", "url": "https://files.pythonhosted.org/packages/83/1f/f3c5400493284d97489095c21b00b7c6879af60fadcec8d6346a7a04476c/jk_treetaggerwrapper-0.2018.12.28.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6782450156cf28b3bf6ed1e320a0cd9c", "sha256": "50e46edee48f133c8cdb767b2f3c566d1a864f61c623e286f3e9ef568456c159" }, "downloads": -1, "filename": "jk_treetaggerwrapper-0.2018.12.28.tar.gz", "has_sig": false, "md5_digest": "6782450156cf28b3bf6ed1e320a0cd9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7863, "upload_time": "2018-12-28T09:01:21", "url": "https://files.pythonhosted.org/packages/83/1f/f3c5400493284d97489095c21b00b7c6879af60fadcec8d6346a7a04476c/jk_treetaggerwrapper-0.2018.12.28.tar.gz" } ] }