TY - GEN
T1 - Using Multinomial Naive Bayes Machine Learning Method to Classify, Detect, and Recognize Programming Language Source Code
AU - Odeh, Ayman Hussien
AU - Odeh, Munther
AU - Odeh, Nada
N1 - Publisher Copyright:
© 2022 IEEE.
PY - 2022
Y1 - 2022
N2 - Processing programming languages are very similar to processing natural languages, especially high-level languages such as Python, Java, C#, C, C++, and others. Therefore, the natural language processing concepts can be applied as one of the most important branches of artificial intelligence in detecting, recognizing, and classification scripts written in different programming languages. The programming language script classification can be counted as a classical machine learning problem. This research aims to present a model using Multinomial Naïve Bayes (MNB) artificial intelligence algorithm to identify and classify the programming language used in writing the source code file provided as an input for the proposed model. A set of categorized files containing source codes will be used in training the proposed model, and then the model will be able to automatically detect and classify a new script into one of the already trained categories. The machine learning method called NB Multinomial will be used to implement this matter. This work is very important for Mufti-programming language editors such as Visual Studio Code, Notepad+, and others, where the user can paste the source code, and the editor will recognize the programming language automatically.
AB - Processing programming languages are very similar to processing natural languages, especially high-level languages such as Python, Java, C#, C, C++, and others. Therefore, the natural language processing concepts can be applied as one of the most important branches of artificial intelligence in detecting, recognizing, and classification scripts written in different programming languages. The programming language script classification can be counted as a classical machine learning problem. This research aims to present a model using Multinomial Naïve Bayes (MNB) artificial intelligence algorithm to identify and classify the programming language used in writing the source code file provided as an input for the proposed model. A set of categorized files containing source codes will be used in training the proposed model, and then the model will be able to automatically detect and classify a new script into one of the already trained categories. The machine learning method called NB Multinomial will be used to implement this matter. This work is very important for Mufti-programming language editors such as Visual Studio Code, Notepad+, and others, where the user can paste the source code, and the editor will recognize the programming language automatically.
KW - Machine Learning
KW - Multinomial Naive Bayes
KW - Programming Language
KW - Source Code Detection
UR - https://www.scopus.com/pages/publications/85146895039
U2 - 10.1109/ACIT57182.2022.9994117
DO - 10.1109/ACIT57182.2022.9994117
M3 - Conference contribution
AN - SCOPUS:85146895039
T3 - Proceedings - 2022 23rd International Arab Conference on Information Technology, ACIT 2022
BT - Proceedings - 2022 23rd International Arab Conference on Information Technology, ACIT 2022
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 23rd International Arab Conference on Information Technology, ACIT 2022
Y2 - 22 November 2022 through 24 November 2022
ER -