发明名称 Dynamic source code generation
摘要 Embodiments include method, systems and computer program products for dynamic source code generation. In some embodiments, data may be received. The data may include natural language and corresponding source code. Parsed natural language may be generated using the data to identify and analyze the natural language. Parsed source code may be generated using the data to identify and analyze the corresponding source code. Mappings between the parsed natural language and the parsed source code may be generated. The mappings may be transmitted.
申请公布号 US9619209(B1) 申请公布日期 2017.04.11
申请号 US201615010184 申请日期 2016.01.29
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Allen Corville O.;Duschl Heather L.;Imsdahl Marit L.;Markello Alexandra D;Price Dana L.
分类号 G06F9/44;G06F17/27 主分类号 G06F9/44
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Wilhelm Richard
主权项 1. A computer-implemented method comprising: receiving data, from a user device by a code generation server, wherein the received data comprises text of a natural language problem, and corresponding source code; generating, by a natural language engine, parsed natural language using the data by identifying and parsing the natural language problem to generate metadata tags that identify types of speech of the parsed natural language; generating, by a source code engine, parsed source code using the data by parsing and analyzing the corresponding source code to generate first metadata to identify different types of software constructs associated with the parsed source code; generating, by the natural language engine, second metadata that identifies the parsed source code into the types of speech of the parsed natural language by analyzing the corresponding source code; generating, by a data management engine, mappings between the parsed natural language and the parsed source code based on the metadata tags and the first and second metadata; ranking, by the data management engine, the mappings based on a reputation value associated with at least one of an electronic textbook, an electronic textbook entry, or an author associated with the electronic textbook; and transmitting, by the data management engine, the mappings between the parsed natural language and the parsed source code to a datastore, wherein the reputation value indicates a rating by users of the at least one of the electronic textbook, the electronic textbook entry, or the author associated with the electronic textbook.
地址 Armonk NY US