2020

TranS^3: A Transformer-based Framework for Unifying Code Summarization and Code Search

Wang, Wenhua, Zhang, Yuqun, Zeng, Zhengran et al.

Understand

Code summarization and code search have been widely adopted in sofwaredevelopmentandmaintenance.

  • However, fewstudieshave explored the efcacy of unifying them.
  • In this paper, we propose TranS^3 , a transformer-based framework to integrate code summarization with code search.
  • Specifcally, for code summarization,TranS^3 enables an actor-critic network, where in the actor network, we encode the collected code snippets via transformer- and tree-transformer-based encoder and decode the given code snippet to generate its comment.

Reading the bibliography…