Identification of topics in source code
Abstract
Topics in source code can be identified using Latent Dirichlet Allocation (LDA) by receiving source code, identifying domain specific keywords from the source code, generating a keyword matrix, processing the keyword matrix and the source code using LDA, and outputting a list of topics. The list of topics is output as collections of domain specific keywords. Probabilities of domain specific keywords belonging to their respective topics can also be output. The keyword matrix comprises weighted sums of occurrences of domain specific keywords in the source code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 18.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, implemented at least in part by a computing device, for identifying topics in source code using Latent Dirichlet Allocation (LDA), the method comprising: receiving software source code; identifying domain specific keywords from the software source code; generating a keyword matrix, wherein the keyword matrix comprises weighted sums of occurrences of the domain specific keywords in the software source code; processing, using LDA, the keyword matrix and the software source code; and outputting, from the processing, collections of domain specific keywords and probabilities, wherein the
- Claim 2Depends on #1
The method of claim 1 wherein each collection comprises one or more of the domain specific keywords, and wherein the one or more domain specific keywords of each collect
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (5)
- Anderson and Zarins, "The codesurfer software understanding platform." In IWPC, pp. 147-148, IEEE Computer Society, 2005.
- Anquetil and Lethbridge, "Recovering software architecture from the names of source files," Journal of Software Maintenance: Research and Practice, 11:201-221, 1999.
- Antoniol, Canfora, Casazza, Lucia, and Merlo, "Recovering traceability links between code and documentation," IEEE Transactions in Software Engineering, 28(10):970-983, 2002.
- Biggerstaff, Mitbander, and Webster, "Program understanding and the concept assignment problem," Communications of the ACM, 37(5):72-83, May 1994.
- Bin, David, and Xinghua, "Identifying biological concepts from a protein-related corpus with a probabilistic topic model," BMC Bioinformatics, 7, 2006.