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

Main application #17

Open
jan-christiansen opened this issue Mar 28, 2020 · 2 comments
Open

Main application #17

jan-christiansen opened this issue Mar 28, 2020 · 2 comments

Comments

@jan-christiansen
Copy link
Contributor

Add parameters to the application and make it usable as a standalone application.

@jan-christiansen
Copy link
Contributor Author

Check what parameter the python scripts at https://github.com/tech-srl/code2vec are passing the the extractors.

@jan-christiansen
Copy link
Contributor Author

Java extractor

command = ['java', '-cp', args.jar, 'JavaExtractor.App',
           '--max_path_length', str(args.max_path_length), '--max_path_width', str(args.max_path_width),
           '--dir', dir, '--num_threads', str(args.num_threads)]

C# extractor

 command = ['dotnet', 'run', '--project', args.csproj,
           '--max_length', str(args.max_path_length), '--max_width', str(args.max_path_width),
           '--path', dir, '--threads', str(args.num_threads), '--ofile_name', str(args.ofile_name)]

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

No branches or pull requests

1 participant