SCALAR: A Part-of-speech Tagger for Identifiers

Christian D. Newman, Brandon Scholten, Sophia Testa, Joshua A. C. Behler, Syreen Banabilah +8 more
4/23/2025
cs.SEcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The paper presents the Source Code Analysis and Lexical Annotation Runtime (SCALAR), a tool specialized for mapping (annotating) source code identifier names to their corresponding part-of-speech tag sequence (grammar pattern). SCALAR's internal model is trained using scikit-learn's GradientBoostingClassifier in conjunction with a manually-curated oracle of identifier names and their grammar patterns.

Show full abstract

This specializes the tagger to recognize the unique structure of the natural language used by developers to create all types of identifiers (e.g., function names, variable names etc.). SCALAR's output is compared with a previous version of the tagger, as well as a modern off-the-shelf part-of-speech tagger to show how it improves upon other taggers' output for annotating identifiers. The code is available on Github

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{newman2025scalar,
  title  = {SCALAR: A Part-of-speech Tagger for Identifiers},
  author = {Christian D. Newman and Brandon Scholten and Sophia Testa and Joshua A. C. Behler and Syreen Banabilah and Michael L. Collard and Michael J. Decker and Mohamed Wiem Mkaouer and Marcos Zampieri and Eman Abdullah AlOmar and Reem Alsuhaibani and Anthony Peruma and Jonathan I. Maletic},
  year   = {2025},
  eprint = {2504.17038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.17038v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.17038.svg)](https://codeofpaper.com/paper/2504.17038)

Discussion