Skip to main content

lute3-korean

A Korean parser for Lute (lute3) using the kiwipiepy library, a fast Korean morphological analyzer based on the Kiwi C++ library.

Installation

pip install lute3-korean

See the Lute manual for how Lute discovers parser plugins.

Usage

When this parser is installed, you can add "Korean" as a language to Lute and select the Lute Korean parser.

Segmentation

By default, text is split into individual morphemes (예상했었는데 → 예상 + 하 + 었 + 는데), which is recommended for learners. Spaces between 어절 (whitespace-delimited blocks) are preserved.

The parser reads optional kiwi_* attributes from the language object if they exist, and otherwise uses the defaults below:

Setting Default Meaning
kiwi_tokenizer_mode morpheme morpheme (fine-grained), lemma (predicate merged to dictionary form, e.g. 예상했었는데 → 예상하다), or eojeol (whole block as one token)
kiwi_filter_particles False Mark particles (조사 J*) and endings (어미 E*) as non-clickable tokens
kiwi_join_compound_nouns False Merge consecutive noun morphemes into one token
kiwi_stemming True get_lemma resolves inflected forms to their dictionary form (먹었어 → 먹다)

Lemmas

Inflected forms resolve to their base dictionary form for the popup / parent term lookup (먹었어 → 먹다, 예상했었는데 → 예상하다), including light-verb compounds (독립+하다, 행복+하다).

Download files

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

Source Distribution

lute3_korean-0.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

lute3_korean-0.0.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file lute3_korean-0.0.1.tar.gz.

File metadata

  • Download URL: lute3_korean-0.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.12

File hashes

Hashes for lute3_korean-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c25ab8e63ef844f7440b2966982d6cc4227bff87ac8173e1385d8107e3fe06c7
MD5 675fbb8ea1d5a58ca3ff2c49da458d3b
BLAKE2b-256 b05f477f12411a4374819173db09869dfa01bd9757d07109bf6194a06d2457b8

See more details on using hashes here.

File details

Details for the file lute3_korean-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lute3_korean-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.12

File hashes

Hashes for lute3_korean-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff90184a70a4142cad297038e35aad46cd233511ba4e4faadcea8d3cda079cfb
MD5 9ada7271e6ebc6bd0f3b0d4eb0012fd9
BLAKE2b-256 35a7b70efab18c8d5be481d2ff33f3b6ab801b0f5cd8486f7fcccd86bed8b4e3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page