Rosetta is a naive bayes classifier written in PHP, that is designed to analyze source files and identify the programming language. To do this it needs a large set of sample languages to train it, it then stores that data in Redis.