Automatic Stop Word Generation for Mining Software Artifact Using Topic Model with Pointwise Mutual Information

Jung-Been LEE  Taek LEE  Hoh Peter IN  

Publication
IEICE TRANSACTIONS on Information and Systems   Vol.E102-D   No.9   pp.1761-1772
Publication Date: 2019/09/01
Online ISSN: 1745-1361
DOI: 10.1587/transinf.2018EDP7390
Type of Manuscript: PAPER
Category: Software Engineering
Keyword: 
text mining,  software artifact,  stop words,  topic modeling,  Pointwise Mutual Information (PMI),  

Full Text: PDF(1.6MB)>>
Buy this Article




Summary: 
Mining software artifacts is a useful way to understand the source code of software projects. Topic modeling in particular has been widely used to discover meaningful information from software artifacts. However, software artifacts are unstructured and contain a mix of textual types within the natural text. These software artifact characteristics worsen the performance of topic modeling. Among several natural language pre-processing tasks, removing stop words to reduce meaningless and uninteresting terms is an efficient way to improve the quality of topic models. Although many approaches are used to generate effective stop words, the lists are outdated or too general to apply to mining software artifacts. In addition, the performance of the topic model is sensitive to the datasets used in the training for each approach. To resolve these problems, we propose an automatic stop word generation approach for topic models of software artifacts. By measuring topic coherence among words in the topic using Pointwise Mutual Information (PMI), we added words with a low PMI score to our stop words list for every topic modeling loop. Through our experiment, we proved that our stop words list results in a higher performance of the topic model than lists from other approaches.