@inproceedings{6b8496003b014aeab5c6a44117589362,
title = "Mining source code topics through topic model and words embedding",
abstract = "Developers nowadays can leverage existing systems to build their own applications. However, a lack of documentation hinders the process of software system reuse. We examine the problem of mining topics (i.e., topic extraction) from source code, which can facilitate the comprehension of the software systems. We propose a topic extraction method, Embedded Topic Extraction (EmbTE), that considers word semantics, which are never considered in mining topics from source code, by leveraging word embedding techniques. We also adopt Latent Dirichlet Allocation (LDA) and Non-negative Matrix Factorization (NMF) to extract topics from source code. Moreover, an automated term selection algorithm is proposed to identify the most contributory terms from source code for the topic extraction task. The empirical studies on Github (https://github.com/) Java projects show that EmbTE outperforms other methods in terms of providing more coherent topics. The results also indicate that method name, method comments, class names and class comments are the most contributory types of terms to source code topic extraction.",
keywords = "Source code mining, Topic model, Word embedding",
author = "Zhang, {Wei Emma} and Sheng, {Quan Z.} and Ermyas Abebe and {Ali Babar}, M. and Andi Zhou",
year = "2016",
doi = "10.1007/978-3-319-49586-6_47",
language = "English",
isbn = "9783319495859",
series = "Lecture Notes in Artificial Intelligence",
publisher = "Springer, Springer Nature",
pages = "664--676",
booktitle = "Advanced data mining and applications",
address = "United States",
note = "12th International Conference on Advanced Data Mining and Applications, ADMA 2016 ; Conference date: 12-12-2016 Through 15-12-2016",
}