I'd like a program that identifies the language of a given text. The program should implement n-grams or any other machine learning methods.
Programming language: C#
It must support at least four languages and the ability to add more languages easily (enough documentation to understand how to do it).
(The code must be yours, you can't download it from the internet)