Classify codes based on language