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


Release history Release notifications | RSS feed

Download files

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

Source Distribution

mecab-python3-0.996.1.tar.gz (27.6 kB view details)

Uploaded Source

File details

Details for the file mecab-python3-0.996.1.tar.gz.

File metadata

  • Download URL: mecab-python3-0.996.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

File hashes

Hashes for mecab-python3-0.996.1.tar.gz
Algorithm Hash digest
SHA256 5aca4d0d196161e41452b89921042c0e61a6b7e7e9373211c0c1c50d1809055d
MD5 b5cfbab1c3c90e84fda089a2b94464ab
BLAKE2b-256 ac48295efe525df40cbc2173748eb869290e81a57e835bc41f6d3834fc5dad5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page