{ "info": { "author": "Paa Kwesi Imbeah", "author_email": "imbeah@yahoo.com", "bugtrack_url": null, "classifiers": [], "description": "# kwl\nKWL is a semantic representation of natural language. A KWL representation can be transformed into any natural language with a grammar and a dictionary of that language.\n\nFor example, \n<kwl nom:dog ; kwl> becomes [kraman (Akan), dog (English), chien (French)]\n\n<kwl pro:you tdy(tu(act:be)) det:a(adj:important_nom:person). ; kwl> becomes [ You are an important person (English) ]\n\nTry it here: http://write.kasahorow.org/kwl \n\n# Installation\n\npython setup.py install\n\n\n# Testing\n\nYou can transform simple English into KWL representation, and then convert the KWL representation into any of the supported languages. Note that all the text is in lowercase.\n\n## Text to KWL\n\n* python -m kwl 'the dog'\n\n## KWL to Text\n\n* python -m kwl 'det:the_nom:dog' akan\n* python -m kwl 'det:the_nom:dog' english\n* python -m kwl 'det:the_nom:dog' oromo\n* python -m kwl 'det:the_nom:dog' swahili\n\n\n# Supported kasahorow languages\nThis means that you can get functional representations suitable for *children's comprehension* into these languages. **You still need a native speaker to confirm correctness!**\n\n* akan\n* chewa\n* gadangme\n* gbe\n* gikuyu\n* hausa\n* igbo\n* lingala\n* luganda\n* luwo\n* oromoo\n* shona\n* swahili\n* yoruba\n* zulu\n\n## How to add a new language **foo**\nThis is simple to do. There are 2 main steps:\n- add a dictionary of the **foo** in the data/ directory: data/english_foo_woaka.tsv\n- set up grammar rules for **foo** the data/ directory: data/sua_foo.py\n\n### Testing language **foo**\nThere are 2 main testing steps:\n- Run python kwl_coverage.py foo to see what tests you need to add in the next step\n- Run python kwl_tests.py foo by adding **foo** into the KWL_TESTS dictionary.\n\n# Known issues\n- No support for noun-adjective alliteration (relevant for Bantu languages such as Shona, Swahili, Ururimi)\n- No support for vowel-harmony (relevant for Kwa languages such as Akan)\n- Partial support for pluralization\n- Partial support for stemming", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.kasahorow.org/", "keywords": "translation kasahorow", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "kwl", "package_url": "https://pypi.org/project/kwl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kwl/", "project_urls": { "Homepage": "https://www.kasahorow.org/" }, "release_url": "https://pypi.org/project/kwl/0.2016.6.0/", "requires_dist": null, "requires_python": "", "summary": "Utilities for KWL: kasahorow Writer's Language", "version": "0.2016.6.0" }, "last_serial": 2182251, "releases": { "0.2016.2.25": [ { "comment_text": "", "digests": { "md5": "e30fbd6945b580f5e1de2a977e98beff", "sha256": "4ebdc23e788abfc3b8fb47dbca496eca404fc0aa65ca475bbd29f923342cad43" }, "downloads": -1, "filename": "kwl-0.2016.2.25-py2.7.egg", "has_sig": false, "md5_digest": "e30fbd6945b580f5e1de2a977e98beff", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 937353, "upload_time": "2016-02-22T07:40:42", "url": "https://files.pythonhosted.org/packages/65/26/863a29ba2870467f15944e678f721b7a85f082a735559bf9ef75fc9f0c12/kwl-0.2016.2.25-py2.7.egg" } ], "0.2016.5.0": [ { "comment_text": "", "digests": { "md5": "b22e33775ae6631d1f7134275b1b8a80", "sha256": "f74ae7f931a10e31e33aeb7622c09859f410ffcabc88224a386b88411ab6184c" }, "downloads": -1, "filename": "kwl-0.2016.5.0-py2.7.egg", "has_sig": false, "md5_digest": "b22e33775ae6631d1f7134275b1b8a80", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1125089, "upload_time": "2016-05-19T07:43:22", "url": "https://files.pythonhosted.org/packages/7b/32/44ece7c97dee26696b713c4bab51386821818386dda76b24289eaf811945/kwl-0.2016.5.0-py2.7.egg" } ], "0.2016.6.0": [ { "comment_text": "", "digests": { "md5": "78064d5890dca0ae23f64d5afe934b98", "sha256": "16a8b218c798bb07fbcb1d8de84a5bfa769c4af7fcc3da7fba649e26196dfcbc" }, "downloads": -1, "filename": "kwl-0.2016.6.0-py2.7.egg", "has_sig": false, "md5_digest": "78064d5890dca0ae23f64d5afe934b98", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1125077, "upload_time": "2016-06-22T22:25:12", "url": "https://files.pythonhosted.org/packages/61/3c/27d1482244d7861fad375fdfd425eae83c34d633f04a5d893c2aad254534/kwl-0.2016.6.0-py2.7.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78064d5890dca0ae23f64d5afe934b98", "sha256": "16a8b218c798bb07fbcb1d8de84a5bfa769c4af7fcc3da7fba649e26196dfcbc" }, "downloads": -1, "filename": "kwl-0.2016.6.0-py2.7.egg", "has_sig": false, "md5_digest": "78064d5890dca0ae23f64d5afe934b98", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1125077, "upload_time": "2016-06-22T22:25:12", "url": "https://files.pythonhosted.org/packages/61/3c/27d1482244d7861fad375fdfd425eae83c34d633f04a5d893c2aad254534/kwl-0.2016.6.0-py2.7.egg" } ] }