Skip to content

How to create separately "my_dataset.raw.train.txt" files for each java codes? #149

Open

Description

@brcsnt

Hello,

Thank you again for sharing this project with us! I have a question.
When I run the "Preprocess.sh" script, all the java files in train folder union all and create a "my_dataset.raw.train.txt" file.
Is it possible to create the "my_dataset.raw.train.txt" files as a separate files for each java code in train folder ? (For instance my_dataset.raw.train_code_1.txt , my_dataset.raw.train_code_2.txt, etc.)

Many thanks in advance.

Activity

  1. urialon commented on Mar 8, 2022

    @urialon
    Collaborator
  2. brcsnt commented on Mar 10, 2022

    @brcsnt
    Author

    Hello @urialon,

    Thank you so much for your quick response.
    I did some research to make changes to the JavaExtractor project. Do I have to modify exactly the "extract.py" file to get the result I specified above? I tried to make some changes but so far without success.

    Many thanks in advance.

  3. urialon commented on Mar 10, 2022

    @urialon
    Collaborator
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