Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

MREP: morpheme regular expression printer

Project Description

MREP is a regular expression matcher for morpheme sequences. You can find morpheme sub-sequences that match a given pattern, such as noun sequences.



$ pip install mrep

If you want to install it from its source, use

$ python install


usage: mrep [-h] [-o] [--color {never,auto,always}] [-n] [--mecab-arg MECAB_ARG]
            PATTERN [FILE [FILE ...]]
positional arguments:
FILE:data file
optional arguments:
-h, --help show this help message and exit
-o, --only-matching
 print only matching
--color COLOR color mode. select from “never”, “auto” and “always”. (default: auto)
-n, --line-number
 Show line number
--mecab-arg MECAB_ARG
 argument to pass to mecab (ex: “-r /path/to/resource/file”)


matches all morphemes
matches morphemes whose surface are XXX
matches morphemes whose POS are XXX
matches repetiion of a pattern X
matches X or Y
matches X


matches a noun
matches repetition of nouns
matches repetition of nouns and a particle
matches repetition of nouns or verbs


This program is distributed under the MIT license.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mrep-0.1.1.macosx-10.4-x86_64.tar.gz (8.6 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Oct 10, 2014
mrep-0.1.1-py2.7.egg (11.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Oct 10, 2014
mrep-0.1.1.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256 Source Oct 10, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting