Text document language identifier.
Language profiles are based on material from http://www.homepages.inf.ed.ac.uk/pkoehn/publications/europarl.ps/.