Question

I am trying to analyse online code and want to use Bayesian Classification. However I need a fair amount of pre classified code as sample data.

Maybe the twenty or so top languages?

Does anyone know of such a corpus?

Pas de solution correcte

Autres conseils

there was a data set on Kaggle with questions from StackOverflow where the objective was to guess the tags related to the question. That could require guessing the language of code samples (or just looking for keywords) https://www.kaggle.com/c/facebook-recruiting-iii-keyword-extraction

Other possibilities searching through Github - since all that code is free and open.

StackOverflow itself shares its own data of all user contributed posts (anonymized)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top