Code2vec: learning distributed representations of code
Interesting concept, now to rush and lookup word2vec applications and see if they make sense for code :pAlso, props for an academic work having an extensive README! https://github.com/tech-srl/code2vecI 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.