Skip to main content

A python binding for mecab-ko

Project description

python-mecab-ko

A python binding for mecab-ko

Prerequisites

  • python3-dev

Installation

Using pip:

# Use the -v option to check the progress of MeCab installation
pip install -v python-mecab-ko

Usage

import mecab
mecab = mecab.MeCab()

mecab.morphs('영등포구청역에 있는 맛집 좀 알려주세요.')
# ['영등포구청역', '에', '있', '는', '맛집', '좀', '알려', '주', '세요', '.']

mecab.nouns('우리나라에는 무릎 치료를 잘하는 정형외과가 없는가!')
# ['우리', '나라', '무릎', '치료', '정형외과']

mecab.pos('자연주의 쇼핑몰은 어떤 곳인가?')
# [('자연주의', 'NNG'), ('쇼핑몰', 'NNG'), ('은', 'JX'), ('어떤', 'MM'), ('곳', 'NNG'), ('인가', 'VCP+EF'), ('?', 'SF')]

Acknowledgments

Project details


Download files

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

Source Distribution

python-mecab-ko-1.0.8.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file python-mecab-ko-1.0.8.tar.gz.

File metadata

  • Download URL: python-mecab-ko-1.0.8.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for python-mecab-ko-1.0.8.tar.gz
Algorithm Hash digest
SHA256 7d49e82bb64763d1385dad1d08df71aa3e6409c72085ec0846df04d94534830c
MD5 1ad472d5140f60dad74de1564bc9876d
BLAKE2b-256 a7399236934665f94cdcf2ddddab5dd46628c1c88b709f020cb354a9ac6f18e6

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