Skip to main content

python wrapper for mecab: Morphological Analysis engine

Project description

Build Status

mecab-python3

This python wrapper for mecab works on both python3.x and python2.x.

Installation and Usage

pip install mecab-python3

You must have mecab and swig installed before running setup.py. For instance, on Debian-based Linux,

sudo apt-get install mecab mecab-ipadic-utf8 libmecab-dev swig
  1. How to use?

    see 'test.py' as a sample program.

  2. Simple example

import MeCab
mecab = MeCab.Tagger ("-Ochasen")
print(mecab.parse("pythonが大好きです"))

License

MeCab is copyrighted free software by Taku Kudo taku@chasen.org and Nippon Telegraph and Telephone Corporation, and is released under any of the GPL (see the file GPL), the LGPL (see the file LGPL), or the BSD License (see the file BSD).

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
mecab-python3-0.996.1.tar.gz (27.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page