arXiv:1703.07638

Machine Learning Based Source Code Classification Using Syntax Oriented Features

Shaul Zevin, Catherine Holzem

제출 2017-03-04

원문 초록

As of today the programming language of the vast majority of the published source code is manually specified or programmatically assigned based on the sole file extension. In this paper we show that the source code programming language identification task can be fully automated using machine learning techniques. We first define the criteria that a production-level automatic programming language identification solution should meet. Our criteria include accuracy, programming language coverage, extensibility and performance. We then describe our approach: How training files are preprocessed for extracting features that mimic grammar productions, and then how these extracted grammar productions are used for the training and testing of our classifier. We achieve a 99 percent accuracy rate while classifying 29 of the most popular programming languages with a Maximum Entropy classifier.

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

논문 ID: publication/3527808공통 태그 BIG-bench Machine Learning, Classification

Twitter Sentiment Analysis

토론

이 논문과 연결된 포럼 글이 아직 없습니다.