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
- APIs are inspired by
KoNLPy
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
python-mecab-ko-1.0.4.tar.gz
(6.7 kB
view details)
File details
Details for the file python-mecab-ko-1.0.4.tar.gz.
File metadata
- Download URL: python-mecab-ko-1.0.4.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f728497aa01c0a91fea3a659fcc97f87275b031ab9c6d71c3e8f572d8af2e02
|
|
| MD5 |
8e6c5876930e1921baac458c2d3fac2f
|
|
| BLAKE2b-256 |
5f349a5064bd98097b0562d56ca042a7bd76c43f391d05a335264eb8852857b8
|