Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about JavaExtractor #126

Open
DJjjjhao opened this issue Jul 23, 2021 · 1 comment
Open

Question about JavaExtractor #126

DJjjjhao opened this issue Jul 23, 2021 · 1 comment

Comments

@DJjjjhao
Copy link

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!

@urialon
Copy link
Collaborator

urialon commented Jul 29, 2021

Hi @DJjjjhao ,
Sorry for the late response.

The output is split by space where:

  1. The first "word" is the target label (assign|message|group)
  2. Every following "word" is a 3-tuple containing: two tokens (boolean and METHOD_NAME), with the hash of the path (600457869).

See additional details here: https://github.com/tech-srl/code2vec#extending-to-other-languages

Best,
Uri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants