Program inputs a corpus of text documents written in different languages. It automatically detects the language of a new given text in the form of a paragraph, sentence, word, or a few letters. The bigram letter model is used with some basics of probability.
To test examples, run the language_detection.py and input the number of example you want to test.
Dataset can be found in publicDataSet/public/set folder