NGram class from http://blog.ebookglue.com/write-language-detector-50-lines-python/
tests
Language samples