Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

python wrapper for mecab: Morphological Analysis engine

Project description

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

Installtion and Usage
1. Installation

pip install mecab-python3

Before installing mecabpython3, make sure you have installed *`mecab`*

example of installtion.
Assume you are using Debian-based linux.

sudo apt-get install libmecab-dev
sudo apt-get install mecab mecab-ipadic-utf8
pip install mecab-python3

2. How to use?

see '' as a sample program.

3. Simple example

import MeCab
mecab = MeCab.Tagger ("-Ochasen")

MeCab is copyrighted free software by Taku Kudo <> 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.7.tar.gz (41.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