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 (독립+하다, 행복+하다).
Metadata
Release files for lute3-korean 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lute3_korean-0.0.2.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lute3_korean-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / lute3_korean-0.0.2.tar.gz
| Download URL | lute3_korean-0.0.2.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f90e8194e0e638d9b03127d9745faae595763a4ef36c212a4722f1d961bd775
|
|
BLAKE2b-256 checksum How to use checksums |
454482228e7d924fa0a2fc77ffa84e2853e900d97a8d5b026ef214113f3ec3f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / lute3_korean-0.0.2-py3-none-any.whl
| Download URL | lute3_korean-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
164fe5b89f870f315b0b73bbd10cc202cd8181dfecdd4e6f7b07c80e621a77fc
|
|
BLAKE2b-256 checksum How to use checksums |
9aec2507413c6f9cd6e9f54b6a6a0539b04dbaae222e571b2e93ce1b64c199c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|