Utility for generating variations of Korean words
Project description
Morph
Utility for generating variations of Korean words.
This is intended to be used for matching words as they appear in the dictionary to tokens in text (어절). For example, the sentence "우리는 오늘 동해로 간다" contains
- "우리는" which is a combination of "우리" plus the particle "는"
- "동해로" which is a combination of "동해" plus the particle "로"
Install
pip install morph_po
Usage
- morph_noun() generates variations of nouns with particles applied based on whether the noun ends in a vowel or a consonent
See also
- KoParadigm generates inflected forms of verbs
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
morph_ko-0.1.0.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file morph_ko-0.1.0.tar.gz
.
File metadata
- Download URL: morph_ko-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6d254ee2ebc6321a310e8c244ef29abba1a384d235dbff560974749a1060209 |
|
MD5 | a2198353d69703dde410e30ea8161d98 |
|
BLAKE2b-256 | 8bd1bc9ba1920bbf0e767be86e03275d9259d8fe604c85dbe64be9685fb92f53 |
Provenance
File details
Details for the file morph_ko-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: morph_ko-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c543e8137f996cece5972ce9dc690530d4afed2f6cea3df0b5e35a1fc63c0eac |
|
MD5 | b81cb4edb7143a39a174c06b69cd01c9 |
|
BLAKE2b-256 | ca9fa9cc5ba05ed81dac173193b6691e8803cc172e8862e9262d9f13286b0f78 |