Python program that can be trained and afterwards used to classify code snippets by programming language.