{ "info": { "author": "Stefan Fischer", "author_email": "sfischer13@ymail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing", "Topic :: Text Processing :: Linguistic" ], "description": "Python ARPA Package\n===================\n\nPython library for reading ARPA n-gram models. \n\n- [Documentation](https://arpa.readthedocs.io/en/latest/) is available.\n- [Changes](https://github.com/sfischer13/python-arpa/blob/master/HISTORY.md) between releases are documented.\n- [Bugs](https://github.com/sfischer13/python-arpa/issues) can be reported on the issue tracker.\n- [Questions](mailto:sfischer13@ymail.com) can be asked via e-mail.\n- [Source code](https://github.com/sfischer13/python-arpa) is tracked on GitHub.\n\nSetup\n-----\n\n### Python 3.4+\n\n[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/arpa.svg)](https://pypi.python.org/pypi/arpa) [![PyPI Version](https://img.shields.io/pypi/v/arpa.svg)](https://pypi.python.org/pypi/arpa)\n\nIn order to install the Python 3 version:\n\n $ pip install --user -U arpa\n\n### Python 2.7\n\n[![PyPI Python Versions](https://img.shields.io/pypi/pyversions/arpa-backport.svg)](https://pypi.python.org/pypi/arpa-backport) [![PyPI Version](https://img.shields.io/pypi/v/arpa-backport.svg)](https://pypi.python.org/pypi/arpa-backport)\n\nIn order to install the Python 2.7 version:\n\n $ pip install --user -U arpa-backport\n\nUsage\n-----\n\nThe package may be imported directly:\n\n import arpa # Python 3.4+\n # OR\n import arpa_backport as arpa # Python 2.7\n\n models = arpa.loadf(\"foo.arpa\")\n lm = models[0] # ARPA files may contain several models.\n\n # probability p(end|in, the)\n lm.p(\"in the end\")\n lm.log_p(\"in the end\")\n\n # sentence score w/ sentence markers\n lm.s(\"This is the end .\")\n lm.log_s(\"This is the end .\")\n\n # sentence score w/o sentence markers\n lm.s(\"This is the end .\", sos=False, eos=False)\n lm.log_s(\"This is the end .\", sos=False, eos=False)\n\nDevelopment\n-----------\n\n[![Travis](https://img.shields.io/travis/sfischer13/python-arpa.svg)](https://travis-ci.org/sfischer13/python-arpa) [![Documentation Status](https://readthedocs.org/projects/arpa/badge/?version=latest)](https://arpa.readthedocs.io/en/latest/?badge=latest) [![Coverage Status](https://coveralls.io/repos/sfischer13/python-arpa/badge.svg?branch=master&service=github)](https://coveralls.io/github/sfischer13/python-arpa?branch=master)\n\n*Contributions are welcome!* \nWrite a bug report or send a pull request. \nOther [contributors](https://github.com/sfischer13/python-arpa/graphs/contributors) have done so before.\n\nLicense\n-------\n\nCopyright (c) 2015-2018 Stefan Fischer \nThe source code is available under the **MIT License**. \nSee [LICENSE](https://github.com/sfischer13/python-arpa/blob/master/LICENSE) for further details.\n\n\nHistory\n=======\n\nAll notable changes to this project will be documented in this file. \nThis project adheres to [Semantic Versioning](https://semver.org/). \nYou should [Keep a CHANGELOG](https://keepachangelog.com/), too!\n\n[Next Release](https://github.com/sfischer13/python-arpa/compare/0.1.0b3-py2...python2.7)\n-----------------------------------------------------------------------------------------\n\n### Added\n\n### Changed\n\n### Deprecated\n\n### Fixed\n\n### Removed\n\n### Security\n\n[0.1.0b4](https://github.com/sfischer13/python-arpa/compare/0.1.0b3-py2...0.1.0b4-py2) - 2018-12-12\n---------------------------------------------------------------------------------------------------\n\n[0.1.0b3](https://github.com/sfischer13/python-arpa/compare/0.1.0b3...0.1.0b3-py2) - 2018-12-06\n-----------------------------------------------------------------------------------------------\n\nFirst release on PyPI.\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/sfischer13/python-arpa", "keywords": "A,R,P,A, ,n,-,g,r,a,m, ,n,g,r,a,m, ,l,a,n,g,u,a,g,e, ,m,o,d,e,l, ,L,M, ,l,a,n,g,u,a,g,e, ,t,e,c,h,n,o,l,o,g,y, ,L,T, ,c,o,m,p,u,t,a,t,i,o,n,a,l, ,l,i,n,g,u,i,s,t,i,c,s, ,C,L, ,n,a,t,u,r,a,l, ,l,a,n,g,u,a,g,e, ,p,r,o,c,e,s,s,i,n,g, ,N,L,P, ,u,n,i,g,r,a,m, ,b,i,g,r,a,m, ,t,r,i,g,r,a,m", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "arpa-backport", "package_url": "https://pypi.org/project/arpa-backport/", "platform": "", "project_url": "https://pypi.org/project/arpa-backport/", "project_urls": { "Homepage": "https://github.com/sfischer13/python-arpa", "bug tracker": "https://github.com/sfischer13/python-arpa/issues/", "documentation": "https://arpa.readthedocs.io/", "source code": "https://github.com/sfischer13/python-arpa/" }, "release_url": "https://pypi.org/project/arpa-backport/0.1.0b4/", "requires_dist": [ "enum34" ], "requires_python": "~=2.7", "summary": "Library for reading ARPA n-gram models with Python 2.7.", "version": "0.1.0b4" }, "last_serial": 4591826, "releases": { "0.1.0b3": [ { "comment_text": "", "digests": { "md5": "c4c852132a409a7e5f982e83be6698db", "sha256": "095ac15e9eab8ebf216e63e00f220df10fd95ed38adfd0bc0f54515fd07cd22c" }, "downloads": -1, "filename": "arpa_backport-0.1.0b3-py2-none-any.whl", "has_sig": false, "md5_digest": "c4c852132a409a7e5f982e83be6698db", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 10026, "upload_time": "2018-12-07T00:50:31", "url": "https://files.pythonhosted.org/packages/46/40/199e5706eb1d344d7146dc947a2e028c3018441851f6ae7842bbffed6e87/arpa_backport-0.1.0b3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8bddb80c814094ef00c28f95d8525de", "sha256": "e0d3fc9ef32697802d2adc92dc2ed40fe1d1d155ea53846178d8759901b91911" }, "downloads": -1, "filename": "arpa-backport-0.1.0b3.tar.gz", "has_sig": false, "md5_digest": "e8bddb80c814094ef00c28f95d8525de", "packagetype": "sdist", "python_version": "source", "requires_python": "~=2.7", "size": 28829, "upload_time": "2018-12-07T00:50:33", "url": "https://files.pythonhosted.org/packages/8d/71/01ab7b79722839d4b3b568c7ff94c6fd74802a6bbd89e2060a729d3d136b/arpa-backport-0.1.0b3.tar.gz" } ], "0.1.0b4": [ { "comment_text": "", "digests": { "md5": "74d19dd03a47548e2f1a60ce6ad83b71", "sha256": "0a376474fd32061f58c6863a78b1380243615efbf302f024305766c1055d4102" }, "downloads": -1, "filename": "arpa_backport-0.1.0b4-py2-none-any.whl", "has_sig": false, "md5_digest": "74d19dd03a47548e2f1a60ce6ad83b71", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 10406, "upload_time": "2018-12-12T21:30:38", "url": "https://files.pythonhosted.org/packages/2a/47/4be379bca146ee175eab2ca828b2e7fe8e6c8b5e40b994f3fc600ca5f08d/arpa_backport-0.1.0b4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e37837434af02b8e6b03047c4a6e8b65", "sha256": "3904a5c58aa1931f06cc4db7d14cc3f1e7989e91a0e866437eb5cc84287a4abc" }, "downloads": -1, "filename": "arpa-backport-0.1.0b4.tar.gz", "has_sig": false, "md5_digest": "e37837434af02b8e6b03047c4a6e8b65", "packagetype": "sdist", "python_version": "source", "requires_python": "~=2.7", "size": 29698, "upload_time": "2018-12-12T21:30:40", "url": "https://files.pythonhosted.org/packages/c9/1e/3ccf9c3f9e589ec25829cc08372e3495dcb098f4d1a18a6fe019e74e5472/arpa-backport-0.1.0b4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74d19dd03a47548e2f1a60ce6ad83b71", "sha256": "0a376474fd32061f58c6863a78b1380243615efbf302f024305766c1055d4102" }, "downloads": -1, "filename": "arpa_backport-0.1.0b4-py2-none-any.whl", "has_sig": false, "md5_digest": "74d19dd03a47548e2f1a60ce6ad83b71", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 10406, "upload_time": "2018-12-12T21:30:38", "url": "https://files.pythonhosted.org/packages/2a/47/4be379bca146ee175eab2ca828b2e7fe8e6c8b5e40b994f3fc600ca5f08d/arpa_backport-0.1.0b4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e37837434af02b8e6b03047c4a6e8b65", "sha256": "3904a5c58aa1931f06cc4db7d14cc3f1e7989e91a0e866437eb5cc84287a4abc" }, "downloads": -1, "filename": "arpa-backport-0.1.0b4.tar.gz", "has_sig": false, "md5_digest": "e37837434af02b8e6b03047c4a6e8b65", "packagetype": "sdist", "python_version": "source", "requires_python": "~=2.7", "size": 29698, "upload_time": "2018-12-12T21:30:40", "url": "https://files.pythonhosted.org/packages/c9/1e/3ccf9c3f9e589ec25829cc08372e3495dcb098f4d1a18a6fe019e74e5472/arpa-backport-0.1.0b4.tar.gz" } ] }