{ "info": { "author": "Kent Johnson", "author_email": "kent3737@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Text Processing :: Linguistic" ], "description": "Attempts to determine the natural language of a selection of Unicode (utf-8) text. \n\nBased on `guesslanguage.cpp\n`_\nby Jacob R Rideout for KDE which itself is based on\n`Language::Guess `_ by Maciej Ceglowski.\n\nDetects over 60 languages - all languages listed in the `trigrams\n`_\ndirectory plus Japanese, Chinese, Korean and Greek.\n\nguess_language uses heuristics based on the character set and trigrams in a sample text \nto detect the language. It works better with longer samples and will be confused if \nthe sample text includes markup such as HTML tags.\n\nUsage\n=====\n\nThe main entry points all take a single string as input and return a language identifier. \nThe string must be Unicode or UTF-8 text. The language identifer can be the language name\nin English, the two- or three-letter IANA language code, a language ID or a tuple containing\nall three codes.\n\nThe primary entry points, and the return values, are as follows::\n\n guessLanguage(txt) - IANA language code\n guessLanguageTag(txt) - IANA language code (same as guessLanguage)\n guessLanguageName(txt) - Language name in English\n guessLanguageId(txt) - language ID\n guessLanguageInfo(txt) - tuple of (IANA code, id, name)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/guess-language", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "guess-language", "package_url": "https://pypi.org/project/guess-language/", "platform": "any", "project_url": "https://pypi.org/project/guess-language/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/guess-language" }, "release_url": "https://pypi.org/project/guess-language/0.2/", "requires_dist": null, "requires_python": null, "summary": "Guess the natural language of a text", "version": "0.2" }, "last_serial": 792761, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "3a3574c2e8b44f84e656f90684f0c6aa", "sha256": "b31ba2a279b8e6a19e9aa2f8e21c5fc4a56cd5557aea3f806cba73ecf38696e7" }, "downloads": -1, "filename": "guess-language-0.2.tar.gz", "has_sig": false, "md5_digest": "3a3574c2e8b44f84e656f90684f0c6aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98949, "upload_time": "2010-08-02T02:19:57", "url": "https://files.pythonhosted.org/packages/e4/d0/df50192865e44af5c934504d413514158c5e522b00d8ec631d818b6d8b6b/guess-language-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a3574c2e8b44f84e656f90684f0c6aa", "sha256": "b31ba2a279b8e6a19e9aa2f8e21c5fc4a56cd5557aea3f806cba73ecf38696e7" }, "downloads": -1, "filename": "guess-language-0.2.tar.gz", "has_sig": false, "md5_digest": "3a3574c2e8b44f84e656f90684f0c6aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98949, "upload_time": "2010-08-02T02:19:57", "url": "https://files.pythonhosted.org/packages/e4/d0/df50192865e44af5c934504d413514158c5e522b00d8ec631d818b6d8b6b/guess-language-0.2.tar.gz" } ] }