{ "info": { "author": "Paul Wicking", "author_email": "paulwicking@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Ngram TextGen\nA simple n-gram-based random text generator written in Python.\n\n## Requirements and Installation\n#### Requirements\nThis module requires Python 3.6+ due to the use of f-strings.\n#### Installation\n```bash\npip install ngramtg\n```\n\n## Usage\nCreate a simple script, e.g.\n\n```python\nfrom ngramtg.ngram import NgramTextGen\nimport sys\n\nif __name__ == \"__main__\":\n my_object = NgramTextGen(sys.argv[1], auto=True)\n print(my_object.sentence())\n```\nSave it (e.g. `myscript.py`) and provide a corpus file to it:\n\n $ python myscript.py corpus.txt\n Compassion will make you.\n\n## Release History\n* 2019.01\n * Initial release\n\n## Development and License\nDeveloped by Paul Wicking \u2013 [@DocWicking][tweet-link].\n\nDistributed under the MIT license. See `LICENSE` for more information.\nThe source code lives on [GitHub][repo-link].\n\n[tweet-link]: https://twitter.com/DocWicking\n[repo-link]: https://github.com/docwicking/ngramtg\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/docwicking/ngramtg", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ngramtg", "package_url": "https://pypi.org/project/ngramtg/", "platform": "", "project_url": "https://pypi.org/project/ngramtg/", "project_urls": { "Homepage": "https://github.com/docwicking/ngramtg" }, "release_url": "https://pypi.org/project/ngramtg/2019.1/", "requires_dist": null, "requires_python": "", "summary": "A simple ngram-based random text generator.", "version": "2019.1" }, "last_serial": 4731590, "releases": { "2019.1": [ { "comment_text": "", "digests": { "md5": "a3a378307e8f42684a74b8f287a6302c", "sha256": "e72ce04f0196368df863f63160bc48f4f5eea561f54994222c8cc5f497229e26" }, "downloads": -1, "filename": "ngramtg-2019.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a3a378307e8f42684a74b8f287a6302c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7433, "upload_time": "2019-01-23T14:04:43", "url": "https://files.pythonhosted.org/packages/a3/d1/c84669327c5b384a00e92583245e6543282f85de3393b9bd51d52a5cde33/ngramtg-2019.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "579b5f6d816002f09e5062bce5eea4f2", "sha256": "b9bf96d7ae543913dd118b3ccb01b8c3f0cf5919b00ba9576b41591f6d823da5" }, "downloads": -1, "filename": "ngramtg-2019.1.tar.gz", "has_sig": false, "md5_digest": "579b5f6d816002f09e5062bce5eea4f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5449, "upload_time": "2019-01-23T14:04:45", "url": "https://files.pythonhosted.org/packages/f4/f7/a94a349a70d3821d6e5fc570456aad754d347263566997539537830052a9/ngramtg-2019.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3a378307e8f42684a74b8f287a6302c", "sha256": "e72ce04f0196368df863f63160bc48f4f5eea561f54994222c8cc5f497229e26" }, "downloads": -1, "filename": "ngramtg-2019.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a3a378307e8f42684a74b8f287a6302c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7433, "upload_time": "2019-01-23T14:04:43", "url": "https://files.pythonhosted.org/packages/a3/d1/c84669327c5b384a00e92583245e6543282f85de3393b9bd51d52a5cde33/ngramtg-2019.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "579b5f6d816002f09e5062bce5eea4f2", "sha256": "b9bf96d7ae543913dd118b3ccb01b8c3f0cf5919b00ba9576b41591f6d823da5" }, "downloads": -1, "filename": "ngramtg-2019.1.tar.gz", "has_sig": false, "md5_digest": "579b5f6d816002f09e5062bce5eea4f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5449, "upload_time": "2019-01-23T14:04:45", "url": "https://files.pythonhosted.org/packages/f4/f7/a94a349a70d3821d6e5fc570456aad754d347263566997539537830052a9/ngramtg-2019.1.tar.gz" } ] }