Skip to content

Question about JavaExtractor #126

Open

Description

@dongjinhao-ruc

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!

Activity

  1. urialon commented on Jul 29, 2021

    @urialon
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions