Adapting Neural Text Classification for Improved Software Categorization

06/05/2018
by   Alexander LeClair, et al.
0

Software Categorization is the task of organizing software into groups that broadly describe the behavior of the software, such as "editors" or "science." Categorization plays an important role in several maintenance tasks, such as repository navigation and feature elicitation. Current approaches attempt to cast the problem as text classification, to make use of the rich body of literature from the NLP domain. However, as we will show in this paper, text classification algorithms are generally not applicable off-the-shelf to source code; we found that they work well when high-level project descriptions are available, but suffer very large performance penalties when classifying source code and comments only. We propose a set of adaptations to a state-of-the-art neural classification algorithm and perform two evaluations: one with reference data from Debian end-user programs, and one with a set of C/C++ libraries that we hired professional programmers to annotate. We show that our proposed approach achieves performance exceeding that of previous software classification techniques as well as a state-of-the-art neural text classification technique.

READ FULL TEXT
research
11/17/2022

GLAMI-1M: A Multilingual Image-Text Fashion Dataset

We introduce GLAMI-1M: the largest multilingual image-text classificatio...
research
03/28/2019

Resilient Combination of Complementary CNN and RNN Features for Text Classification through Attention and Ensembling

State-of-the-art methods for text classification include several distinc...
research
04/16/2020

Light-Weighted CNN for Text Classification

For management, documents are categorized into a specific category, and ...
research
05/14/2018

Utilizing Probase in Open Directory Project-based Text Classification

Open Directory Project (ODP) has been successfully utilized in text clas...
research
03/16/2021

LabelGit: A Dataset for Software Repositories Classification using Attributed Dependency Graphs

Software repository hosting services contain large amounts of open-sourc...
research
09/13/2023

Beyond original Research Articles Categorization via NLP

This work proposes a novel approach to text categorization – for unknown...
research
05/09/2023

Consistent Text Categorization using Data Augmentation in e-Commerce

The categorization of massive e-Commerce data is a crucial, well-studied...

Please sign up or login with your details

Forgot password? Click here to reset