Sometimes you should localize your project to Korean. But common i18n solutions such as gettext are not working with non Indo-European language well. Korean also has many morphological difference. “korean” a Python module provides useful Korean morphological functions.
Do not use “을(를)” anymore
>>> from korean import Noun
>>> fmt = u'{subj:은} {obj:을} 먹었다.'
>>> print fmt.format(subj=Noun(u'나'), obj=Noun(u'밥'))
나는 밥을 먹었다.
>>> print fmt.format(subj=Noun(u'학생'), obj=Noun(u'돈까스'))
학생은 돈까스를 먹었다.
Links
Metadata
Release files for korean 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| korean-0.1.9-py2-none-any.whl | Python 2 | none | any | Details |
Release files / korean-0.1.9-py2-none-any.whl
| Download URL | korean-0.1.9-py2-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e56151126e1ddb2fd97051049780eb74465abcab95226ceaa1bbdadbb0fbb65d
|
|
BLAKE2b-256 checksum How to use checksums |
92a7bc886125eccdf30d22ed3ec8076c4d0ae1c413bb7e09bc5fba2760db26d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.17
|