Code2vec: learning distributed representations of code
Interesting concept, now to rush and lookup word2vec applications and see if they make sense for code :p<p>Also, props for an academic work having an extensive README! <a href="https://github.com/tech-srl/code2vec" rel="nofollow">https://github.com/tech-srl/code2vec</a><p>I do wonder if some sort of AST normalization would improve the input signal. Example 8 on the website shows their system correctly identifying an isPrime function. However some irrelevant perturbations can break it. If you swap the if statement condition around from `n % i == 0` to `0 == n % i` the proposed names are totally different and make no sense.