POSIT: simultaneously tagging natural and programming languages
Profir-Petru Pârtachi, Santanu Kumar Dash, Christoph Treude, Earl T. Barr
摘要
Software developers use a mix of source code and natural language text to communicate with each other: Stack Overflow and Developer mailing lists abound with this mixed text. Tagging this mixed text is essential for making progress on two seminal software engineering problems --- traceability, and reuse via precise extraction of code snippets from mixed text. In this paper, we borrow code-switching techniques from Natural Language Processing and adapt them to apply to mixed text to solve two problems: language identification and token tagging. Our technique, POSIT, simultaneously provides abstract syntax tree tags for source code tokens, part-of-speech tags for natural language words, and predicts the source language of a token in mixed text. To realize POSIT, we trained a biLSTM network with a Conditional Random Field output layer using abstract syntax tree tags from the CLANG compiler and part-of-speech tags from the Standard Stanford part-of-speech tagger. POSIT improves the state-of-the-art on language identification by 10.6% and PoS/AST tagging by 23.7% in accuracy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper1
相关 Paper
- SyMCoM - Syntactic Measure of Code Mixing A Study Of English-Hindi Code-MixingPrashant Kodali, Anmol Goel, Monojit Choudhury, Manish Shrivastava 等ACL Findings 2022 · 1 次引用
- From English to Code-Switching: Transfer Learning with Strong Morphological CluesGustavo Aguilar, Thamar SolorioACL 2020 · 1 次引用
- Switch Point biased Self-Training: Re-purposing Pretrained Models for Code-SwitchingParul Chopra, Sai Krishna Rallabandi, Alan W. Black, Khyathi Raghavi ChanduEMNLP Findings 2021 · 2 次引用
- Improving Pretraining Techniques for Code-Switched NLPRicheek Das, Sahasra Ranjan, Shreya Pathak, Preethi JyothiACL 2023 · 3 次引用
- Code-switching Mediated Sentence-level Semantic LearningShuai Zhang, Jiangyan Yi, Zhengqi Wen, Jianhua Tao 等AAAI 2025
