code2vec
code2vec copied to clipboard
Question about JavaExtractor
I run JavaExtractor to get the ast paths and get the output like this "assign|message|group boolean,600457869,METHOD_NAME". I feel confused about the output. Is the output split by space and what's the meaning of the number "600457869"? Thank you very much!
Hi @DJjjjhao , Sorry for the late response.
The output is split by space where:
- The first "word" is the target label (
assign|message|group) - Every following "word" is a 3-tuple containing: two tokens (
booleanandMETHOD_NAME), with the hash of the path (600457869).
See additional details here: https://github.com/tech-srl/code2vec#extending-to-other-languages
Best, Uri