{ "info": { "author": "Kyubyong Park", "author_email": "kbpark.linguist@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# KoParadigm: Korean Inflectional Paradigm Generator\n\n(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.\n Paradigms are widely used in corpus linguistics or search engines.\nTo 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.\nInflection 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.\n 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.\n Here's the first one. With KoParadigm, you can easily get the full paradigm of a Korean verb. \n\n## Dependencies\n* python >=3.6\n* jamo >=0.4.1\n* xlrd > 1.2.0\n\n## Installation\n```\npip install koparadigm\n```\n\n## Usage\n```\n>>> from koparadigm import Paradigm\n>>> p = Paradigm()\n\n>>> verb = \"\uacf1\" # Note that you must drop the final ending \ub2e4\n>>> paradigms = p(verb) # this returns list of lists\n>>> print(paradigms)\n[['\ub3d9\uc0ac', OrderedDict([('\ub294\ub2e4', '\uacf1\ub294\ub2e4'), ('\ub294\ub2e4\uace0', '\uacf1\ub294\ub2e4\uace0'), ('\ub294\ub2e4\ub098', '\uacf1\ub294\ub2e4\ub098'), ('\ub294\ub2e4\ub124', '\uacf1\ub294\ub2e4\ub124'), ('\ub294\ub2e4\ub354\ub77c', '\uacf1\ub294\ub2e4\ub354\ub77c'), ('\ub294\ub2e4\ub290\ub2c8', '\uacf1\ub294\ub2e4\ub290\ub2c8'), ('\ub294\ub2e4\ub9c8\ub294', '\uacf1\ub294\ub2e4\ub9c8\ub294'), ('\ub294\ub2e4\uc190', '\uacf1\ub294\ub2e4\uc190'), ('\ub294\ub2f4', '\uacf1\ub294\ub2f4'), ('\ub294\ub2f5\uc2dc\uace0', '\uacf1\ub294\ub2f5\uc2dc\uace0') ...\n['\ud615\uc6a9\uc0ac', OrderedDict([('\uc2b5\ub124', '\uacf1\uc2b5\ub124'), ('\uc2b5\ub2b0\ub2e4', '\uacf1\uc2b5\ub2b0\ub2e4'), ('\uc2b5\ub2c8\uae4c', '\uacf1\uc2b5\ub2c8\uae4c'), ('\uc2b5\ub2c8\ub2e4', '\uacf1\uc2b5\ub2c8\ub2e4'), ('\uc2b5\ub514\uae4c', '\uacf1\uc2b5\ub514\uae4c'), ('\uc2b5\ub514\ub2e4', '\uacf1\uc2b5\ub514\ub2e4'), ('\uc2b5\ub518\ub2e4', '\uacf1\uc2b5\ub518\ub2e4'), ('\uc2b5\uc9c0\uc694', '\uacf1\uc2b5\uc9c0\uc694'), ('\uc73c\ub098', '\uace0\uc6b0\ub098') ...]]\n>>> for paradigm in paradigms:\n... print(\"pos =\", paradigm[0])\n... for ending, form in paradigm[1].items():\n... print(\"ending =\", ending, \"form =\", form)\n... print()\npos = \ub3d9\uc0ac\nending = \ub294\ub2e4 form = \uacf1\ub294\ub2e4\nending = \ub294\ub2e4\uace0 form = \uacf1\ub294\ub2e4\uace0\nending = \ub294\ub2e4\ub098 form = \uacf1\ub294\ub2e4\ub098\n...\n\npos = \ud615\uc6a9\uc0ac\nending = \uc2b5\ub124 form = \uacf1\uc2b5\ub124\nending = \uc2b5\ub2b0\ub2e4 form = \uacf1\uc2b5\ub2b0\ub2e4\nending = \uc2b5\ub2c8\uae4c form = \uacf1\uc2b5\ub2c8\uae4c\n...\n\n```\n## References\nIf you use our software for research, please cite:\n\n```\n@misc{KoParadigm2019,\n author = {Park, Kyubyong },\n title = {KoParadigm},\n year = {2019},\n publisher = {GitHub},\n journal = {GitHub repository},\n howpublished = {\\url{https://github.com/Kyubyong/paradigm}}\n}\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Kyubyong/paradigm", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "koparadigm", "package_url": "https://pypi.org/project/koparadigm/", "platform": "", "project_url": "https://pypi.org/project/koparadigm/", "project_urls": { "Homepage": "https://github.com/Kyubyong/paradigm" }, "release_url": "https://pypi.org/project/koparadigm/0.9.3/", "requires_dist": [ "jamo", "xlrd" ], "requires_python": ">=3.6", "summary": "Korean Inflectional Paradigm Generator", "version": "0.9.3" }, "last_serial": 5455683, "releases": { "0.9.3": [ { "comment_text": "", "digests": { "md5": "30542bf7b380d022bf54fd5396733ef4", "sha256": "9988b49c4a0b07bfd2389ef15d63ad96dcc07b5b9cab2bbeea7de60549cfd462" }, "downloads": -1, "filename": "koparadigm-0.9.3-py3-none-any.whl", "has_sig": false, "md5_digest": "30542bf7b380d022bf54fd5396733ef4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 1233227, "upload_time": "2019-06-27T08:06:48", "url": "https://files.pythonhosted.org/packages/b4/27/f797fbf699a4e73f1b998446a39c04261c4a8f213eb7506d7cdf40953276/koparadigm-0.9.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5943a315b0b15be06543e3f8e3b57e50", "sha256": "dd4158032e283115bb40e90067eeb7c5ff0f6d4c7be62c0e7a9893005cc5c8a9" }, "downloads": -1, "filename": "koparadigm-0.9.3.tar.gz", "has_sig": false, "md5_digest": "5943a315b0b15be06543e3f8e3b57e50", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1231052, "upload_time": "2019-06-27T08:07:38", "url": "https://files.pythonhosted.org/packages/dd/b3/b5a948a279e6b34cb76889c61195aebd69cc6f09b8655a8bef4aacb78c29/koparadigm-0.9.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30542bf7b380d022bf54fd5396733ef4", "sha256": "9988b49c4a0b07bfd2389ef15d63ad96dcc07b5b9cab2bbeea7de60549cfd462" }, "downloads": -1, "filename": "koparadigm-0.9.3-py3-none-any.whl", "has_sig": false, "md5_digest": "30542bf7b380d022bf54fd5396733ef4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 1233227, "upload_time": "2019-06-27T08:06:48", "url": "https://files.pythonhosted.org/packages/b4/27/f797fbf699a4e73f1b998446a39c04261c4a8f213eb7506d7cdf40953276/koparadigm-0.9.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5943a315b0b15be06543e3f8e3b57e50", "sha256": "dd4158032e283115bb40e90067eeb7c5ff0f6d4c7be62c0e7a9893005cc5c8a9" }, "downloads": -1, "filename": "koparadigm-0.9.3.tar.gz", "has_sig": false, "md5_digest": "5943a315b0b15be06543e3f8e3b57e50", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 1231052, "upload_time": "2019-06-27T08:07:38", "url": "https://files.pythonhosted.org/packages/dd/b3/b5a948a279e6b34cb76889c61195aebd69cc6f09b8655a8bef4aacb78c29/koparadigm-0.9.3.tar.gz" } ] }