tech-srl / code2vec

TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code"
https://code2vec.org
MIT License
1.1k stars 286 forks source link

Original method definition #99

Closed celsofranssa closed 3 years ago

celsofranssa commented 4 years ago

Is there an approach in which someone could align each sample from the preprocessed dataset with its original method definition?

urialon commented 3 years ago

Hi @Ceceu , This is currently not implemented. It is possible if you edit the JavaExtractor, and save this information to some external database or file.

I hope it helps, Uri

urialon commented 3 years ago

Closing due to inactivity, but feel free to re-open if you have additional questions.