-
公开(公告)号:WO2021202088A1
公开(公告)日:2021-10-07
申请号:PCT/US2021/022265
申请日:2021-03-15
Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC
Inventor: BIRD, Christian Alma , FU, Shengyu , SUNDARESAN, Neelakantan , WANG, Nina , ZHANG, Shuo
IPC: G06F8/75 , G06F8/33 , G06F16/2246 , G06F16/2465 , G06F2216/03 , G06F8/315 , G06F8/36 , G06F8/751
Abstract: A data mining technique is used to find large frequently-occurring source code patterns from methods/APIs that can be used in code development. Simplified trees that represent the syntactic structure and type and method usage of a source code fragment, such as a method, are mined to find closed and maximal frequent subtrees which represent the largest frequently-occurring source code patterns or idioms associated with a particular type and method usage. These idioms are then used in an idiom web service and/or a code completion system to assist users in the development of source code programs.