KoParadigm: A Korean Conjugation Paradigm Generator
This is the offical repo for our paper: KoParadigm: A Korean Conjugation Paradigm Generator
(Inflectional) paradigm means the set of all the inflected forms of a word. For example, English verb "look" has inflected forms like "look", "look-s", "look-ed", and "look-ing", as all of you know. Paradigms are widely used in corpus linguistics or search engines. To create the full paradigm set of a language is sometimes tricky. It is particularly so when we deal with a morphologically rich language like Korean. Inflection of Korean verbs is notorisouly complicated. Typically, a Korean verb can combine with more than 100 endings. What is worse, the combination rules are not simple at all. They are determined by the sound of the verb/ending, and the part-of-speech of the verb (action / descriptive). That's why so far there's no open sources of Korean paradigm generator, I think. Here's the first one. With KoParadigm, you can easily get the full paradigm of a Korean verb.
Dependencies
- python >=3.6
- jamo >=0.4.1
- xlrd == 1.2.0
Installation
pip install koparadigm
Usage
>>> from koparadigm import Paradigm, prettify
>>> p = Paradigm()
>>> verb = "곱" # Note that you must drop the final ending 다
>>> paradigms = p.conjugate(verb) # this returns list of lists
>>> print(paradigms)
[['Action Verb', [('거나', '곱거나'), ('거늘', '곱거늘'), ('거니', '곱거니') ...]]]
>>> prettify(paradigms)
POS = Action Verb
• ending = 거나 form = 곱거나
• ending = 거늘 form = 곱거늘
• ending = 거니 form = 곱거니
...
==================== 2 ====================
POS = Descriptive Verb
• ending = 거나 form = 곱거나
• ending = 거늘 form = 곱거늘
• ending = 거니 form = 곱거니
• ending = 거니와 form = 곱거니와
...
References
If you use our software for research, please cite:
@article{park2020KoParadigm,
author = {Park, Kyubyong },
title={KoParadigm: A Korean Conjugation Paradigm Generator},
journal={arXiv preprint arXiv:2004.13221},
year={2020}
}
Metadata
Release files for koparadigm 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| koparadigm-0.10.0.tar.gz | 1.6 MB | Without provenance | Details for koparadigm-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| koparadigm-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for koparadigm-0.10.0-py3-none-any.whl |
Total release size: 3.2 MB
Release files / koparadigm-0.10.0.tar.gz
| Download URL | koparadigm-0.10.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
711aaea8387194171bb6c30788d5051f401a8e08f30fcfa9b4af0d514976c9d6
|
|
BLAKE2b-256 checksum How to use checksums |
75dfeb89ab3d673b28411fe6dc894840a009da2d052b13097e81f2ba38209743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Release files / koparadigm-0.10.0-py3-none-any.whl
| Download URL | koparadigm-0.10.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1180ad8b8841fc0d1178b3d98db04877ba1ef1be23b691e23a9c0c582a39d7da
|
|
BLAKE2b-256 checksum How to use checksums |
b8ab79d089283785526ef3838e0cc5b0824102b2fa2dc2639064faa0315f580b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for koparadigm 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.