Closed elatoskinas closed 3 years ago
@mir-am The implemented extractor is in module_type_extractor.py
. All other files are there solely for testing purposes, and we will remove them once we finalize this PR.
@elatoskinas Thanks for the work. Do you think that we can run the import tool for 5,000 Python projects? Considering the issues we discussed so far. Moreover, I will train the model of TypeWriter with the visible types that you sent.
@mir-am Yes, we can certainly train it on 5000 repos; I'll get to this soon!
Closing, moved to repo: https://github.com/saltudelft/visible-type-extractor
Visible Type Extraction
Continuation of https://github.com/mir-am/ML4SE/pull/3 Resolves: https://github.com/mir-am/ML4SE/issues/2
Adds a file that allows to do the following:
Changes from original PR
Usage & Integration
The type extractor is not yet integrated into the pipeline. Integration is straight forward:
file
ModuleExtractor
ModuleExtractor.getTypes(file)