Automatic generation of documentation and aggregation of community content
Abstract
A system and method may provide assistance to programmers related to the creation of documentation. In some aspects, the system may automatically generate documentation-related text in source code. In other aspects, the system may automatically detect the need for the programmer to edit long-from documentation when changes are detected in code. Moreover, the system may provide for the aggregation or creation of documentation content based on one or more data sources, such as by embedding links to those data sources into documentation. In some aspects, some components of the system are based on machine learning methods and are trained on collected data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: retrieving a portion of source code, the portion of source code including a function having one or more parameters and one or more return values, and the portion of source code including one or more tokens; automatically generating a docstring for the function using a machine learning model based on an input to the machine learning model of at least the one or more tokens to determine a type of the one or more parameters and the one or more return values, wherein the generated docstring includes a determined type for each of the one or more parameters
- Claim 2Depends on #1
The computer-implemented method of claim 1 , further comprising analyzing one or more us
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Barone et al., “A parallel corpus of Python functions and documentation strings for automated code documentation and code generation” (Year: 2017).
- Buse et al., “Automatically Documenting Program Changes” (Year: 2010).
- Cabot, “Automated Docstring Generation for Python Functions” (Year: 2014).
- Chen et al., “Tracking Down Dynamic Feature Code Changes Against Python Software Evolution” (Year: 2016).
- Loper, “Epydoc: API Documentation Extraction in Python” (Year: 2008).