{ "info": { "author": "Hiroyuki Tanaka, Bram Vanroy", "author_email": "afl0x@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Text Processing" ], "description": "=====\npyter\n=====\n\npyter is a simple Translation Error Rate evaluation package.\n\n============\nInstallation\n============\n\nCheckout the repository\n\n.. code-block:: bash\n\n git clone https://github.com/BramVanroy/pyter.git\n cd pyter\n pip install -e .\n\n\n=====\nUsage\n=====\n\n.. code-block:: python\n\n import pyter\n\n # To get a TER score, both hypothesis sentence and reference sentence have to be tokenised (a list of words).\n\n ref = 'SAUDI ARABIA denied THIS WEEK information published in the AMERICAN new york times'.split()\n hyp = 'THIS WEEK THE SAUDIS denied information published in the new york times'.split()\n print(pyter.ter(hyp, ref))\n # 0.308\n\n\n===========\nReleaseNote\n===========\n\nv0.3\n * only kept essentials for use as module (removed CLI)\n * turned it into Python 3 scripts\n\nv0.2.2.1\n * bugfix release\n\nv0.2.2\n * fixed #1, invalid scoreing.\n\nv0.2.1\n * New CLI interface\n * Refactoring the whole code\n * **This version is incompatible with the previous version.**\nv0.2\n * Replace normal DP based edit distance with cached version. A little performance improvement.\nv0.1.1\n * Minor fix, and register to PyPi\nv0.1\n * Initial release\n\n===============\nAcknowledgments\n===============\n\nBased on the original version by user afcl at afcl/pyter_.\n\n.. _pyter: https://github.com/aflc/pyter\n\n=======\nLicense\n=======\n\nIt is released under the MIT license.\n\n Copyright (c) 2011 Hiroyuki Tanaka\n\n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\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/BramVanroy/pyter", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyter3", "package_url": "https://pypi.org/project/pyter3/", "platform": "", "project_url": "https://pypi.org/project/pyter3/", "project_urls": { "Homepage": "https://github.com/BramVanroy/pyter" }, "release_url": "https://pypi.org/project/pyter3/0.3/", "requires_dist": null, "requires_python": "", "summary": "Simple library to evaluate the Translation Edit Rate", "version": "0.3" }, "last_serial": 5573070, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "8a9e0e6f6463e0eaa4109f9cce8ca887", "sha256": "7e2d835c12d99eb68c127f80df76e4ba295ff50e6509b13f7ffd9f877a28b9b3" }, "downloads": -1, "filename": "pyter3-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8a9e0e6f6463e0eaa4109f9cce8ca887", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4085, "upload_time": "2019-07-23T15:33:04", "url": "https://files.pythonhosted.org/packages/2c/98/a9da2bdf07ef1e27d947fd13e9c9714fcc554ae30aaae92a35e0534b6722/pyter3-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81cf1d94ad5d8b34de0e437d1f13f66d", "sha256": "a52054a547d89ce91c081231dd86da36af83e216496b5e8676f041450ad64d2e" }, "downloads": -1, "filename": "pyter3-0.3.tar.gz", "has_sig": false, "md5_digest": "81cf1d94ad5d8b34de0e437d1f13f66d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4021, "upload_time": "2019-07-23T15:33:06", "url": "https://files.pythonhosted.org/packages/62/e4/5a691044fb040189ffa5bd5ffbbdae26a2c1869bd550d610b24e4343883d/pyter3-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a9e0e6f6463e0eaa4109f9cce8ca887", "sha256": "7e2d835c12d99eb68c127f80df76e4ba295ff50e6509b13f7ffd9f877a28b9b3" }, "downloads": -1, "filename": "pyter3-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8a9e0e6f6463e0eaa4109f9cce8ca887", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4085, "upload_time": "2019-07-23T15:33:04", "url": "https://files.pythonhosted.org/packages/2c/98/a9da2bdf07ef1e27d947fd13e9c9714fcc554ae30aaae92a35e0534b6722/pyter3-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81cf1d94ad5d8b34de0e437d1f13f66d", "sha256": "a52054a547d89ce91c081231dd86da36af83e216496b5e8676f041450ad64d2e" }, "downloads": -1, "filename": "pyter3-0.3.tar.gz", "has_sig": false, "md5_digest": "81cf1d94ad5d8b34de0e437d1f13f66d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4021, "upload_time": "2019-07-23T15:33:06", "url": "https://files.pythonhosted.org/packages/62/e4/5a691044fb040189ffa5bd5ffbbdae26a2c1869bd550d610b24e4343883d/pyter3-0.3.tar.gz" } ] }