{ "info": { "author": "Krishna Sangeeth", "author_email": "kskrishnasangeeth@gmail.com", "bugtrack_url": null, "classifiers": [], "description": " http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\nDescription: whatlang\n =========\n \n Lightning Fast Language Prediction :rocket:\n \n Dependencies\n =============\n \n The below dependencies must be installed.\n \n ```\n $ pip install future==0.16.0\n $ pip install Cython==0.27.2\n $ pip install cysignals==1.6.5\n $ pip install pyfasttext==0.4.3\n ```\n \n Basic Usage\n ============\n \n Predicting Language using ``whatlang``\n \n ```python\n >>> from whatlang import WhatLang\n >>> wl = WhatLang()\n >>> wl.predict_lang(\"Mother\")\n 'en'\n >>> wl.predict_lang(u\"\u0ba4\u0bbe\u0baf\u0bcd\")\n 'ta'\n >>> wl.predict_lang(u\"\u0d05\u0d2e\u0d4d\u0d2e\")\n 'ml'\n ```\n \n Batch Prediction is also supported\n \n ```python\n >>>wl.predict_lang([\"English sentence\",u\"\u0d05\u0d2e\u0d4d\u0d2e\"])\n ['en','ml']\n ```\n \n \n Supported Language\n ==================\n \n Supports 176 languages . The ISO codes for the corresponding languages are as below.\n \n ```\n af als am an ar arz as ast av az azb ba bar bcl be bg bh bn bo bpy br bs bxr ca cbk\n ce ceb ckb co cs cv cy da de diq dsb dty dv el eml en eo es et eu fa fi fr frr fy ga\n gd gl gn gom gu gv he hi hif hr hsb ht hu hy ia id ie ilo io is it ja jbo jv ka kk km\n kn ko krc ku kv kw ky la lb lez li lmo lo lrc lt lv mai mg mhr min mk ml mn mr mrj ms\n mt mwl my myv mzn nah nap nds ne new nl nn no oc or os pa pam pfl pl pms pnb ps pt qu\n rm ro ru rue sa sah sc scn sco sd sh si sk sl so sq sr su sv sw ta te tg th tk tl tr\n tt tyv ug uk ur uz vec vep vi vls vo wa war wuu xal xmf yi yo yue zh\n ```\n \n Reference\n ==========\n \n ``whatlang`` is powered by ``FastText``\n \n ### Enriching Word Vectors with Subword Information\n \n [1] P. Bojanowski\\*, E. Grave\\*, A. Joulin, T. Mikolov, [*Enriching Word Vectors with Subword Information*](https://arxiv.org/abs/1607.04606)\n \n ```\n @article{bojanowski2016enriching,\n title={Enriching Word Vectors with Subword Information},\n author={Bojanowski, Piotr and Grave, Edouard and Joulin, Armand and Mikolov, Tomas},\n journal={arXiv preprint arXiv:1607.04606},\n year={2016}\n }\n ```\n \n ### Bag of Tricks for Efficient Text Classification\n \n [2] A. Joulin, E. Grave, P. Bojanowski, T. Mikolov, [*Bag of Tricks for Efficient Text Classification*](https://arxiv.org/abs/1607.01759)\n \n ```\n @article{joulin2016bag,\n title={Bag of Tricks for Efficient Text Classification},\n author={Joulin, Armand and Grave, Edouard and Bojanowski, Piotr and Mikolov, Tomas},\n journal={arXiv preprint arXiv:1607.01759},\n year={2016}\n }\n ```\n \n ### FastText.zip: Compressing text classification models\n \n [3] A. Joulin, E. Grave, P. Bojanowski, M. Douze, H. J\u00e9gou, T. Mikolov, [*FastText.zip: Compressing text classification models*](https://arxiv.org/abs/1612.03651)\n \n ```\n @article{joulin2016fasttext,\n title={FastText.zip: Compressing text classification models},\n author={Joulin, Armand and Grave, Edouard and Bojanowski, Piotr and Douze, Matthijs and J{\\'e}gou, H{\\'e}rve and Mikolov, Tomas},\n journal={arXiv preprint arXiv:1612.03651},\n year={2016}\n }\n ```\n \nKeywords: language detection library\nPlatform: UNKNOWN\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: Apache Software License\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python :: 2\nClassifier: Programming Language :: Python :: 2.7\nClassifier: Programming Language :: Python :: 3\nClassifier: Programming Language :: Python :: 3.4\nClassifier: Programming Language :: Python :: 3.5\nClassifier: Programming Language :: Python :: 3.6\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/whiletruelearn/whatlang", "keywords": "", "license": "Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at", "maintainer": "", "maintainer_email": "", "name": "whatlang", "package_url": "https://pypi.org/project/whatlang/", "platform": "", "project_url": "https://pypi.org/project/whatlang/", "project_urls": { "Homepage": "https://github.com/whiletruelearn/whatlang" }, "release_url": "https://pypi.org/project/whatlang/1.0.2/", "requires_dist": [ "Cython", "cysignals", "pyfasttext" ], "requires_python": "", "summary": "Lightning Fast Language Prediction powered by Fasttext.", "version": "1.0.2" }, "last_serial": 3294507, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "96da52d8d594f8bcd1478f6e9436ad63", "sha256": "51f0fea9eeff155963d079a45cad8fb111d5f6706d5c73b20e4a84c290b906ad" }, "downloads": -1, "filename": "whatlang-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "96da52d8d594f8bcd1478f6e9436ad63", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6728, "upload_time": "2017-10-31T14:50:03", "url": "https://files.pythonhosted.org/packages/05/73/59258758e0f7c4e8cf7ef9723877f81f3d693b51b11d70ee2bed4f4c0b08/whatlang-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39fb97eca0b8e2332e5999cac60c5c77", "sha256": "e07d12e76f0aa286c4a920d7323930f8b8306a6d61f49d73e31ef8167862f863" }, "downloads": -1, "filename": "whatlang-1.0.1.tar.gz", "has_sig": false, "md5_digest": "39fb97eca0b8e2332e5999cac60c5c77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4129, "upload_time": "2017-10-31T14:50:04", "url": "https://files.pythonhosted.org/packages/65/04/1e67ca3aa0035052222fd9775e3042e5472d842eb0381d8b3d0ec411ed7a/whatlang-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "6c28e2ea6b658a138d83c2fb5232b59a", "sha256": "435bc2637dfdc890b705fa6238a7c8d5c0ee3d0ffce05ac75caa7bb1ff3a4ee6" }, "downloads": -1, "filename": "whatlang-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c28e2ea6b658a138d83c2fb5232b59a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 783639, "upload_time": "2017-10-31T14:59:26", "url": "https://files.pythonhosted.org/packages/71/53/5ff4573afe56e4bd6d5ec759a973f02f1f294b8037ccf2e3ffecc4030b16/whatlang-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d73f55a5e7cf9254b27fdebe6874f13", "sha256": "3b2bcc8e3707f5ce05181eb70c808e6cf228c1f8c35034f351e36e7772471188" }, "downloads": -1, "filename": "whatlang-1.0.2.tar.gz", "has_sig": false, "md5_digest": "9d73f55a5e7cf9254b27fdebe6874f13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 782943, "upload_time": "2017-10-31T14:59:29", "url": "https://files.pythonhosted.org/packages/c7/c4/6ccd045aa1556c67b2962132a637dd9af1e24c31b4e05f053d27271f778c/whatlang-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c28e2ea6b658a138d83c2fb5232b59a", "sha256": "435bc2637dfdc890b705fa6238a7c8d5c0ee3d0ffce05ac75caa7bb1ff3a4ee6" }, "downloads": -1, "filename": "whatlang-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c28e2ea6b658a138d83c2fb5232b59a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 783639, "upload_time": "2017-10-31T14:59:26", "url": "https://files.pythonhosted.org/packages/71/53/5ff4573afe56e4bd6d5ec759a973f02f1f294b8037ccf2e3ffecc4030b16/whatlang-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d73f55a5e7cf9254b27fdebe6874f13", "sha256": "3b2bcc8e3707f5ce05181eb70c808e6cf228c1f8c35034f351e36e7772471188" }, "downloads": -1, "filename": "whatlang-1.0.2.tar.gz", "has_sig": false, "md5_digest": "9d73f55a5e7cf9254b27fdebe6874f13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 782943, "upload_time": "2017-10-31T14:59:29", "url": "https://files.pythonhosted.org/packages/c7/c4/6ccd045aa1556c67b2962132a637dd9af1e24c31b4e05f053d27271f778c/whatlang-1.0.2.tar.gz" } ] }