Shreya R. Mehta, Sneha Patil, Nikita S. Shirguppi, V. Attar
{"title":"代码史书","authors":"Shreya R. Mehta, Sneha Patil, Nikita S. Shirguppi, V. Attar","doi":"10.1109/ICMA52036.2021.9512639","DOIUrl":null,"url":null,"abstract":"Source Code Summarization implies generating summary in natural language from a given code snippet which can be helpful to developers for a platitude of reasons like Knowledge Training, to understand in brief about a newly imported project, to maintain precise summaries on the evolution of source code (using git history), etc. Instead of using state-of-art approaches like RNN and CNN, we propose an alternative approach that uses UAST (Universal Abstract Syntax Tree) of the source code to generate tokens and then use the Transformer model with self-attention mechanism that uses encoder-decoder, which unlike RNN method is helpful for capturing long-range dependencies. We have considered Java code snippets for generating the code summaries.","PeriodicalId":339025,"journal":{"name":"2021 IEEE International Conference on Mechatronics and Automation (ICMA)","volume":"188 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Code Summarizer\",\"authors\":\"Shreya R. Mehta, Sneha Patil, Nikita S. Shirguppi, V. Attar\",\"doi\":\"10.1109/ICMA52036.2021.9512639\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Source Code Summarization implies generating summary in natural language from a given code snippet which can be helpful to developers for a platitude of reasons like Knowledge Training, to understand in brief about a newly imported project, to maintain precise summaries on the evolution of source code (using git history), etc. Instead of using state-of-art approaches like RNN and CNN, we propose an alternative approach that uses UAST (Universal Abstract Syntax Tree) of the source code to generate tokens and then use the Transformer model with self-attention mechanism that uses encoder-decoder, which unlike RNN method is helpful for capturing long-range dependencies. We have considered Java code snippets for generating the code summaries.\",\"PeriodicalId\":339025,\"journal\":{\"name\":\"2021 IEEE International Conference on Mechatronics and Automation (ICMA)\",\"volume\":\"188 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-08-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE International Conference on Mechatronics and Automation (ICMA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICMA52036.2021.9512639\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Mechatronics and Automation (ICMA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICMA52036.2021.9512639","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Source Code Summarization implies generating summary in natural language from a given code snippet which can be helpful to developers for a platitude of reasons like Knowledge Training, to understand in brief about a newly imported project, to maintain precise summaries on the evolution of source code (using git history), etc. Instead of using state-of-art approaches like RNN and CNN, we propose an alternative approach that uses UAST (Universal Abstract Syntax Tree) of the source code to generate tokens and then use the Transformer model with self-attention mechanism that uses encoder-decoder, which unlike RNN method is helpful for capturing long-range dependencies. We have considered Java code snippets for generating the code summaries.