发明名称 |
CODE SEARCHING AND RANKING |
摘要 |
A method, computerized apparatus and computer program product for providing a code segment in response to a query, the method comprising using at least one hardware processor for: receiving a multiplicity of code segments and meta data related to the code segments; analyzing each code segment of the multiplicity of code segments, said analyzing comprising: semantically analyzing the code segment to obtain a first rank, structurally analyzing the code segment to obtain a second rank, and analyzing the meta data associated with the code segment to obtain a third rank; combining the first rank, second rank and third rank into a total rank associated with the code segment; receiving a query; matching the query to each of the multiplicity of code segments to identify matching code segments; and providing the matching code segments in accordance with total ranks associated with each of the matching code segments. |
申请公布号 |
US2016063062(A1) |
申请公布日期 |
2016.03.03 |
申请号 |
US201514834703 |
申请日期 |
2015.08.25 |
申请人 |
Codota Dot Com Ltd. |
发明人 |
Yahav Eran |
分类号 |
G06F17/30;G06F9/44 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for providing a code segment in response to a query, the method comprising using at least one hardware processor for:
receiving a multiplicity of code segments and meta data related to the code segments; analyzing each code segment of the multiplicity of code segments, said analyzing comprising:
(a) semantically analyzing the code segment to obtain a first rank,(b) structurally analyzing the code segment to obtain a second rank, and(c) analyzing the meta data associated with the code segment to obtain a third rank; combining the first rank, second rank and third rank into a total rank associated with the code segment; receiving a query; matching the query to each of the multiplicity of code segments to identify matching code segments; and providing the matching code segments in accordance with total ranks associated with each of the matching code segments. |
地址 |
Raanana IL |