SE Stopwords
<p><strong>Overview</strong></p> <p>This repository contains stopword lists specifically tailored for natural language processing (NLP) tasks applied to software development documents. It aims to enhance the efficiency and accuracy of NLP applications on various types of software documentation, including bug reports, commit messages, and API documentation.</p> <p><strong>Background and Motivation</strong></p> <p>Stop words, deemed non-predictive, are often eliminated in NLP tasks. However, the definition of uninformative vocabulary remains vague, leading most algorithms to use general knowledge-based stop lists. The effectiveness of stop word elimination, particularly in domain-specific settings, is debated among academics.</p> <p>In a recent <a href="https://arxiv.org/abs/2303.10439">paper</a>, we investigated the usefulness of stop word removal in a software engineering context. To achieve this, we replicated and experimented with three software engineering research tools from related work. A corpus of software engineering domain-related text was constructed from 10,000 Stack Overflow questions, and 200 domain-specific stop words were identified using traditional information-theoretic methods.</p> <p>The results demonstrated that using domain-specific stop words significantly improved the performance of research tools compared to a general stop list. Moreover, 17 out of 19 evaluation measures showed better performance.</p> <p><strong>Comparison to Baseline across 19 Metrics</strong></p> <p>The table below summarizes the performance improvements when using different stopword lists compared to the baseline across 19 metrics.</p> <table> <thead> <tr> <th>Stop word list</th> <th>Better</th> <th>Worse</th> <th>Same</th> </tr> </thead> <tbody> <tr> <td>SE Domain (TF-IDF) (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/tfidf_approach.txt">link</a>)</td> <td>17</td> <td>1</td> <td>1</td> </tr> <tr> <td>SE Domain (Poisson) (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/possion_approach.txt">link</a>)</td> <td>12</td> <td>5</td> <td>2</td> </tr> <tr> <td>Technology Domain (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/technology_domain_stopwords.txt">link</a>)</td> <td>9</td> <td>9</td> <td>1</td> </tr> <tr> <td>Large (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/large_stopwords.txt">link</a>)</td> <td>11</td> <td>8</td> <td>0</td> </tr> <tr> <td>Medium (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/medium.txt">link</a>)</td> <td>11</td> <td>7</td> <td>1</td> </tr> <tr> <td>Small (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/small.txt">link</a>)</td> <td>13</td> <td>5</td> <td>1</td> </tr> <tr> <td>Very Small (<a href="https://github.com/ctreude/SE-stopwords/blob/main/stopwords_lists/very_small.txt">link</a>)</td> <td>10</td> <td>7</td> <td>2</td> </tr> <tr> <td>No Stop Words</td> <td>4</td> <td>12</td> <td>3</td> </tr> </tbody> </table> <p><strong>Usage Instructions</strong></p> <p>These stopword lists can be used to filter out uninformative words from software development documents, thereby improving the understanding and analysis of textual data in the software development domain.</p> <p>To use these lists in your NLP tasks, simply import them into your project and apply them as filters during the pre-processing stage.</p> <p><strong>Folder Structure</strong></p> <pre><code>SE-stopwords |-- data_for_replications (contains all the required data for replicating software engineering tools) | |-- Maalej_Dataset (original data for app review tool) | `-- queries (queries used for RACKTool) |-- stackoverflow_questions (more than 10k top reviewed questions on stackoverflow) |-- stopwords_lists (all the stoplists) |-- replications `-- stackoverflow (code for creating the domain-specific corpus) </code></pre> <p><strong>Detailed Results for the Three Replicated Tools</strong></p> <p>The results may vary by a small fraction depending on the trial, but they should be approximately the same as the tables below.</p> <p><em><strong>Tool 1 (App Review)</strong></em></p> <table> <thead> <tr> <th> </th> <th><strong>PD  (bug report)</strong></th> <th><strong>RT  (rating)</strong></th> <th><strong>FR  (feature request)</strong></th> <th><strong>UE  (user experience)</strong></th> </tr> </thead> <tbody> <tr> <td> </td> <td>Pre  Rec  F1</td> <td>Pre  Rec  F1</td> <td>Pre  Rec  F1</td> <td>Pre  Rec  F1</td> </tr> <tr> <td><strong>SE domain (Poisson)</strong></td> <td>10.0% 37.5% 15.8%</td> <td>72.1% 78.0% 74.9%</td> <td>7.1% 29.8% 11.5%</td> <td>11.6% 32.0% 17.0%</td> </tr> <tr> <td><strong>SE domain (TF-IDF)</strong></td> <td>10.7% 40.2% 16.9%</td> <td>72.2% 78.2% 75.1%</td> <td>7.9% 33.3% 12.8%</td> <td>11.7% 32.5% 17.2%</td> </tr> </tbody> </table> <p><em><strong>Tool 2 (RACK)</strong></em></p> <table> <thead> <tr> <th> </th> <th><strong>Top-10</strong></th> <th><strong>MRR@10</strong></th> <th><strong>MAP@10</strong></th> <th><strong>MR@K</strong></th> </tr> </thead> <tbody> <tr> <td><strong>SE domain (Poisson)</strong></td> <td>83.85%</td> <td>52.29%</td> <td>43.27%</td> <td>54.47%</td> </tr> <tr> <td><strong>SE domain (TF-IDF)</strong></td> <td>84.17%</td> <td>53.20%</td> <td>45.82%</td> <td>56.8%</td> </tr> </tbody> </table> <p><em><strong>Tool 3 (Requirements Change Impact Analysis)</strong></em></p> <table> <thead> <tr> <th> </th> <th><strong>SE domain (Poisson)</strong></th> <th><strong>SE domain (TF-IDF)</strong></th> </tr> </thead> <tbody> <tr> <td><strong>Query 2</strong></td> <td>0.588</td> <td>0.588</td> </tr> <tr> <td><strong>Query 4</strong></td> <td>0.981</td> <td>0.981</td> </tr> <tr> <td><strong>Query 5</strong></td> <td>0.602</td> <td>0.602</td> </tr> </tbody> </table> <p><strong>Citation</strong></p> <p>If you make use of this work, please cite:</p> <pre><code>@inproceedings{fan2023stop, title={Stop Words for Processing Software Engineering Documents: Do they Matter?}, author={Yaohou Fan and Chetan Arora and Christoph Treude}, booktitle={2023 IEEE/ACM 2nd International Workshop on Natural Language-Based Software Engineering (NLBSE)}, year={2023}, organization={IEEE} } </code></pre>
ShareScore
40/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 12
- Reuse readiness
- 8
- Engagement
- 8
Topics
Dataset details
- Repository
- zenodo
- Published
- April 25, 2023
- License
- other-open
- DOI
- 10.5281/zenodo.7865747
Scored with release 0.9.0
ScienceDex for faculty
Your academic CV and NIH biosketch
Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.