Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsc/guess-language
Attempts to determine the natural language of a selection of Unicode (utf-8) text (a clone of http://code.google.com/p/guess-language with package metadata)
https://github.com/dsc/guess-language
Last synced: 15 days ago
JSON representation
Attempts to determine the natural language of a selection of Unicode (utf-8) text (a clone of http://code.google.com/p/guess-language with package metadata)
- Host: GitHub
- URL: https://github.com/dsc/guess-language
- Owner: dsc
- License: lgpl-2.1
- Created: 2010-02-22T17:35:34.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-02-22T18:20:38.000Z (over 14 years ago)
- Last Synced: 2024-10-20T13:16:36.862Z (23 days ago)
- Language: Python
- Homepage: http://code.google.com/p/guess-language
- Size: 188 KB
- Stars: 47
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
# guess-language
Attempts to determine the natural language of a selection of Unicode (utf-8) text.
Based on [guesslanguage.cpp](http://websvn.kde.org/branches/work/sonnet-refactoring/common/nlp/guesslanguage.cpp?view=markup) by Jacob R Rideout for KDE which itself is based on [Language::Guess](http://languid.cantbedone.org/) by Maciej Ceglowski. Original repo is at [Google Code](http://code.google.com/p/guess-language/); repackaged with package metadata [here](http://github.com/dsc/guess-language).
Detects over 60 languages; Greek (el), Korean (ko), Japanese (ja), Chinese (zh) and all the languages listed in the trigrams directory.
## Install from Github
I recommend using [Pip](http://pip.openplans.org/):
$ pip install -e 'git://github.com/dsc/guess-language.git#egg=guess-language'
If you prefer `easy_install`:
$ git clone git://github.com/dsc/guess-language.git
$ easy_install guess-languageThe old-school way also works:
$ git clone git://github.com/dsc/guess-language.git
$ cd guess-language
$ python setup.py install