Links for guess-language
guess-language-0.2.tar.gz
http://code.google.com/p/guess-language/source/browse/trunk/guess_language/trigrams/
http://languid.cantbedone.org/
http://websvn.kde.org/branches/work/sonnet-refactoring/common/nlp/guesslanguage.cpp?view=markup