Dissertation
Generating comments from source with logical forms
Doctor of Philosophy (Ph.D.), Drexel University
Mar 2024
DOI:
https://doi.org/10.17918/00001944
Abstract
Code documentation and description is a big problem in the industry and many have attempted to automate comment generation. Earlier approaches with various success rates commonly tried to build comment as a function description based on the names of objects and functions in the code. Modern approaches are based on machine learning and the latest LLM-based comment generation often produce good results. However none of these approaches guarantee correctness of the generated text or even the correctness of English language in the sentence. I am proposing a different approach to generate comments, which will guarantee correctness and grammatically correct English. My approach is to generate description of an existing code base by treating programming language as a natural language and mapping to to logical expression and transforming PL into English.
Metrics
111 File views/ downloads
93 Record Views
Details
- Title
- Generating comments from source with logical forms
- Creators
- Sergey Matskevich
- Contributors
- Colin Gordon (Advisor)
- Awarding Institution
- Drexel University
- Degree Awarded
- Doctor of Philosophy (Ph.D.)
- Publisher
- Drexel University; Philadelphia, Pennsylvania
- Number of pages
- vi, 56 pages
- Resource Type
- Dissertation
- Language
- English
- Academic Unit
- Computer Science (Computing) (2013-2026); College of Computing and Informatics (2013-2026); Drexel University
- Other Identifier
- 991021867614704721