{ "info": { "author": "Yuya Unno", "author_email": "unnonouno@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "===========================================\n MREP: Morpheme Regular Expression Printer\n===========================================\n\n.. image:: https://travis-ci.org/unnonouno/mrep.svg?branch=master\n :target: https://travis-ci.org/unnonouno/mrep\n\n.. image:: https://coveralls.io/repos/unnonouno/mrep/badge.png?branch=master\n :target: https://coveralls.io/r/unnonouno/mrep?branch=master\n\nMREP is a regular expression matcher for morpheme sequences.\nYou can find morpheme sub-sequences that match a given pattern, such as noun sequences.\n\n\nRequirement\n===========\n\n- Python >=2.7\n- mecab-python3 ( https://github.com/SamuraiT/mecab-python3 )\n\n\nInstall\n=======\n\n::\n\n $ pip install mrep\n\n\nIf you want to install it from its source, use `setup.py`.\n\n::\n\n $ python setup.py install\n\n\nUsage\n=====\n\n::\n\n usage: mrep [-h] [-o] [--color {never,auto,always}] [-n] [--mecab-arg MECAB_ARG]\n PATTERN [FILE [FILE ...]]\n\npositional arguments:\n :`PATTERN`: pattern\n :`FILE`: data file\n\noptional arguments:\n -h, --help show this help message and exit\n -o, --only-matching print only matching\n --color COLOR color mode. select from \"never\", \"auto\" and \"always\". (default: auto)\n -n, --line-number Show line number\n --mecab-arg MECAB_ARG\n argument to pass to mecab (ex: \"-r\n /path/to/resource/file\")\n\n\nPattern\n=======\n\n`.`\n matches all morphemes\n\n``\n matches morphemes whose surface are `XXX`\n\n``\n matches morphemes whose POS are `XXX`\n\n`X*`\n matches repetiion of a pattern X\n\n`X|Y`\n matches X or Y\n\n`(X)`\n matches X\n\n\nExample\n-------\n\n``\n matches a noun\n\n`*`\n matches repetition of nouns\n\n`*`\n matches repetition of nouns and a particle\n\n`(|)*`\n matches repetition of nouns or verbs\n\n\nLicense\n-------\n\nThis program is distributed under the MIT license.\n\n\nCopyright\n---------\n\n\\(c) 2014, Yuya Unno.", "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/unnonouno/mrep", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "mrep", "package_url": "https://pypi.org/project/mrep/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mrep/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/unnonouno/mrep" }, "release_url": "https://pypi.org/project/mrep/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "MREP: morpheme regular expression printer", "version": "0.1.1" }, "last_serial": 1253967, "releases": { "0.1.1": [ { "comment_text": "built for Darwin-13.4.0", "digests": { "md5": "65eadc22b03032d7d360818d186b0425", "sha256": "ab15f67bb861907d8e8accef654aecdb95ee4a5224b9f59055531cb2f8050fc6" }, "downloads": -1, "filename": "mrep-0.1.1.macosx-10.4-x86_64.tar.gz", "has_sig": false, "md5_digest": "65eadc22b03032d7d360818d186b0425", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8563, "upload_time": "2014-10-10T05:34:27", "url": "https://files.pythonhosted.org/packages/5e/20/e1176bc9f635e79021649a7c5e0e76ba15273f08661459f5c4761907fc7c/mrep-0.1.1.macosx-10.4-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "d10b5b2bc5e5661f00cac8b6c337bcdb", "sha256": "a47eb552c84ec4b8dd9be5edd7cc9e1fcdfb9a938badf12144666a7113a58d3e" }, "downloads": -1, "filename": "mrep-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "d10b5b2bc5e5661f00cac8b6c337bcdb", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 10975, "upload_time": "2014-10-10T05:34:30", "url": "https://files.pythonhosted.org/packages/38/1d/0c0f2c4060a5b3054a5f74b83f6ab7422fb8401b350b9c8fb4f834f16883/mrep-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "13657d39322876ec3d76836d82d8bfcb", "sha256": "22ed7791bf48049e7606af5692c5cc3a019f859c1173f14a0639b179425313cc" }, "downloads": -1, "filename": "mrep-0.1.1.tar.gz", "has_sig": false, "md5_digest": "13657d39322876ec3d76836d82d8bfcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8682, "upload_time": "2014-10-10T05:34:23", "url": "https://files.pythonhosted.org/packages/b2/26/6e3024e83b78bd6180e97fbd4cb44b69332e555bf6d9035fde150bf789d8/mrep-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "built for Darwin-13.4.0", "digests": { "md5": "65eadc22b03032d7d360818d186b0425", "sha256": "ab15f67bb861907d8e8accef654aecdb95ee4a5224b9f59055531cb2f8050fc6" }, "downloads": -1, "filename": "mrep-0.1.1.macosx-10.4-x86_64.tar.gz", "has_sig": false, "md5_digest": "65eadc22b03032d7d360818d186b0425", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8563, "upload_time": "2014-10-10T05:34:27", "url": "https://files.pythonhosted.org/packages/5e/20/e1176bc9f635e79021649a7c5e0e76ba15273f08661459f5c4761907fc7c/mrep-0.1.1.macosx-10.4-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "d10b5b2bc5e5661f00cac8b6c337bcdb", "sha256": "a47eb552c84ec4b8dd9be5edd7cc9e1fcdfb9a938badf12144666a7113a58d3e" }, "downloads": -1, "filename": "mrep-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "d10b5b2bc5e5661f00cac8b6c337bcdb", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 10975, "upload_time": "2014-10-10T05:34:30", "url": "https://files.pythonhosted.org/packages/38/1d/0c0f2c4060a5b3054a5f74b83f6ab7422fb8401b350b9c8fb4f834f16883/mrep-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "13657d39322876ec3d76836d82d8bfcb", "sha256": "22ed7791bf48049e7606af5692c5cc3a019f859c1173f14a0639b179425313cc" }, "downloads": -1, "filename": "mrep-0.1.1.tar.gz", "has_sig": false, "md5_digest": "13657d39322876ec3d76836d82d8bfcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8682, "upload_time": "2014-10-10T05:34:23", "url": "https://files.pythonhosted.org/packages/b2/26/6e3024e83b78bd6180e97fbd4cb44b69332e555bf6d9035fde150bf789d8/mrep-0.1.1.tar.gz" } ] }