Back to Search Start Over

STACC: Code Comment Classification using SentenceTransformers

Authors :
Al-Kaswan, A. (author)
Izadi, M. (author)
van Deursen, A. (author)
Al-Kaswan, A. (author)
Izadi, M. (author)
van Deursen, A. (author)
Publication Year :
2023

Abstract

Code comments are a key resource for information about software artefacts. Depending on the use case, only some types of comments are useful. Thus, automatic approaches to clas-sify these comments have been proposed. In this work, we address this need by proposing, STACC, a set of SentenceTransformers- based binary classifiers. These lightweight classifiers are trained and tested on the NLBSE Code Comment Classification tool competition dataset, and surpass the baseline by a significant margin, achieving an average Fl score of 0.74 against the baseline of 0.31, which is an improvement of 139%. A replication package, as well as the models themselves, are publicly available.<br />Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.<br />Software Engineering<br />Software Technology

Details

Database :
OAIster
Notes :
English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1427491072
Document Type :
Electronic Resource
Full Text :
https://doi.org/10.1109.NLBSE59153.2023.00014