Open jan-christiansen opened 4 years ago
Check what parameter the python scripts at https://github.com/tech-srl/code2vec are passing the the extractors.
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)]
Add parameters to the application and make it usable as a standalone application.