Skip to main content

A python binding for mecab-ko

Project description

python-mecab-ko

A python binding for mecab-ko

Installation

Using pip:

$ pip install python-mecab-ko

This library provides a binary wheel on Linux and macOS systems, but if you want to build from source, you need the following prerequisites:

  • C++14 compatible compiler
  • Python header files

Usage

import mecab
mecab = mecab.MeCab()

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

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

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

mecab.parse('즐거운 하루 보내세요!')
# [
#     ('즐거운', Feature(
#         pos='VA+ETM', semantic=None, has_jongseong=True, reading='즐거운',
#         type='Inflect', start_pos='VA', end_pos='ETM',
#         expression='즐겁/VA/*+ᆫ/ETM/*')),
#     ('하루', Feature(
#         pos='NNG', semantic=None, has_jongseong=False, reading='하루',
#         type=None, start_pos=None, end_pos=None,
#         expression=None)),
#     ('보내', Feature(
#         pos='VV', semantic=None, has_jongseong=False, reading='보내',
#         type=None, start_pos=None, end_pos=None,
#         expression=None)),
#     ('세요', Feature(
#         pos='EP+EF', semantic=None, has_jongseong=False, reading='세요',
#         type='Inflect', start_pos='EP', end_pos='EF',
#         expression='시/EP/*+어요/EF/*')),
#     ('!', Feature(
#         pos='SF', semantic=None, has_jongseong=None, reading=None,
#         type=None, start_pos=None, end_pos=None,
#         expression=None))
# ]

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.2.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (503.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (463.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (503.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (463.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (480.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (503.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ i686

python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (464.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (501.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ i686

python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (462.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (480.1 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (500.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ i686

python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (467.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

File details

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

File metadata

  • Download URL: python-mecab-ko-1.2.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for python-mecab-ko-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f5e093e8c02f59fce57fc15bdb571efca272386b7acccf0027bfe582f14b11c6
MD5 4c44212f9dfdc70fa5d54fc1b022916b
BLAKE2b-256 86ed6da7e8c715577f826d702ea5dbb6dafd981e9060090dbc6c7c347192dba7

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d52817e8e017aa3043f198c1aa808a5d3c60d1320e0b896c4790d47349348380
MD5 33fa18cc01c8f4a056ce097f8bc4f5c4
BLAKE2b-256 693cd5843954c44029040f86c3a9cf41d51831bc97506c357faed610445611e4

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 56cba13cb326a8ac956ba6a3a2fdeb6f1f556e5271b18641a2ab10b4fb21049d
MD5 aa0d01a2979c866ed8fdfab246d416f1
BLAKE2b-256 f3e6cda1881ea2f2e40677adfd24a6263c745a8ac7bf476359950aecc6dc7e98

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 03dc193850bfd51ab9391dd25128127c1add5776f1389d847586a207a816793c
MD5 6205ba7c59a4775856cee1e77ca1ce13
BLAKE2b-256 d1460b25e2f0657190da66ad903b51007164b4e50d41ff625a558e03f2bda898

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d684264526c3c0003ae0599f403a3d40852402d1b92ff2273d92d8147cc7062
MD5 508aedd261fe3063817b47030b207216
BLAKE2b-256 a9dc302a507785715ee3c1d21cc9cfabccec12e4aee0b2ab4437b06b5dd8d3a8

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e5f14386707215d913988fd9ef2decd2fb281815432a980dd5802df7b65122f8
MD5 9289b0a212fd6fb1e18a769c4b45b3d8
BLAKE2b-256 4924b3b56e7e31329c78ae59761ef61569546a8c24b449aa5d04810c8417405d

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1cc02453d8a5a76eeb1e2a95999360330c8fb67077696d54e372408022ce48e
MD5 381ad0dcdc96d63db3e9db3799894201
BLAKE2b-256 5ada1113187b6c4665b583f8545fa3b4fa9fea28880e58481c2d58d9a5e8bfb1

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4af95ddb504daa3e6f8022c8a3348d8bdbbd00d442560175c7dad5b2efa24cd4
MD5 3213c316ae0ed2fa74b44b8cfbc7392f
BLAKE2b-256 13574f7a734f57e91ff3dccb282c0fe356a83377a206af792222cce6dcc6d65a

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9176e889e62e4dd8b00d9430833161c4b3f5772b06a23e8cbaeb6317c8854409
MD5 f8846a6c66cf9dc06e5f4470ba49ec29
BLAKE2b-256 bd783a48d5c73e68c615501cbbaea68541c07f98d63c748a9b89f1993f0224aa

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 754073adc805a44dc5173e31a511758dd2ffc827f2bd9a9cb8a63db96a69c652
MD5 88d2062e10b21daf876179a5b1bc735d
BLAKE2b-256 a62b8bf052b7d5e54c207f06888642f3c5beb37252dd75c916c2b32cdb8e3c32

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5806ed2dc4a868b557046870fca7e7803bd791f811c569605c57e89a8a11c55e
MD5 091b94798eb3aead4ce4c19cd1d962f0
BLAKE2b-256 bb2ef81e3a52ca579ecc4b251ac2c7028c2b1b8042cc579551bc6a2e230d7e3e

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 76ce1133bb59d1f2ae6943653b031f1f83ae11f4053fff303597d7357249a3b1
MD5 a546cf8350f3db076d6ef7537725e1f1
BLAKE2b-256 9bcac0ed8bda491b0d614db5fc03b1ef2de417782af9aba3c389ad0860b9c5e7

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6d7d36d0d97ee3d861cfe47aaf8a5e63bb73d2995c84ef9da6323ae867327a6f
MD5 e417aec5d4a019c40672f9c40e164b1f
BLAKE2b-256 847a9fb1c4c446f09c1243de4d564c40b55d260fabd458e736fbb54a7b0b1210

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 120e1f137a98a9118d30a1d86460c346b10d5941e6e996d8537fe26990423fd1
MD5 634b41be054b3f08d62bc6c4914dc753
BLAKE2b-256 7574ef4d8968f1e17da0777110f6cd6f0e2fb468889b2642e76f3e895ac6ac17

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3dbc7874e2d359e64db672c57e078bd5a9c5092f5cc696414ac882b160ba6933
MD5 ad7492cd40624ead7a53d17686ce4bbb
BLAKE2b-256 0dffa8abbedc61ea5f55cfdc2c59b7f23b3f4c860ab378bc0dbaa4a13963ed18

See more details on using hashes here.

File details

Details for the file python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for python_mecab_ko-1.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0734a49d09de1f255ea7700f4748e1f6cbc095eea4858f6a3f8bfc91b5437f27
MD5 79ac16a5832df35411427a32dacbb5eb
BLAKE2b-256 3c79588ad94e11029abc1a2facc26dc53fdc780513be32858ed27d41e9cae6dc

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