├── .DS_Store ├── .gitignore ├── DOMAIN_ADAPTATION.md ├── INSTALL.md ├── LICENSE ├── README.md ├── STATUS.md ├── commits_data ├── fpml_cs_new_files_with_commit.csv ├── fpml_evolve.csv ├── fpml_java_new_files_with_commit.csv ├── itext_cs_new_files_with_commit.csv ├── itext_evolve.csv ├── itext_java_new_files_with_commit.csv ├── jgit_cs_new_files_with_commit.csv ├── jgit_evolve.csv ├── jgit_java_new_files_with_commit.csv ├── lucene_cs_new_files_with_commit.csv ├── lucene_evolve.csv └── lucene_java_new_files_with_commit.csv ├── data ├── cs_vectors.txt ├── ground_truth.csv ├── java_count_sdk_no_duplicated.csv └── java_vectors.txt ├── dict └── candidates_dict.txt ├── dumped ├── .DS_Store └── debug │ ├── .DS_Store │ └── tiugh24uxs │ ├── params.pkl │ └── train.log ├── eval └── java-cs.txt ├── evaluate.py ├── figs ├── 1_to_1_mapping.png ├── gans.png ├── oov_estimation.png ├── self_refinement.png ├── single_api.png ├── task.png └── wx_y_adaptation.png ├── infer_mappings.py ├── new_found └── new_found_apis.csv ├── paper.pdf ├── requirements.txt ├── src ├── __init__.py ├── dico_builder.py ├── dictionary.py ├── evaluation │ ├── __init__.py │ ├── evaluator.py │ ├── sent_translation.py │ ├── word_translation.py │ └── wordsim.py ├── logger.py ├── models.py └── utils.py ├── supervised.py ├── translation_matrix.py └── unsupervised.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ -------------------------------------------------------------------------------- /DOMAIN_ADAPTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/DOMAIN_ADAPTATION.md -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/INSTALL.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/README.md -------------------------------------------------------------------------------- /STATUS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/STATUS.md -------------------------------------------------------------------------------- /commits_data/fpml_cs_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/fpml_cs_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/fpml_evolve.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/fpml_evolve.csv -------------------------------------------------------------------------------- /commits_data/fpml_java_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/fpml_java_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/itext_cs_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/itext_cs_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/itext_evolve.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/itext_evolve.csv -------------------------------------------------------------------------------- /commits_data/itext_java_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/itext_java_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/jgit_cs_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/jgit_cs_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/jgit_evolve.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/jgit_evolve.csv -------------------------------------------------------------------------------- /commits_data/jgit_java_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/jgit_java_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/lucene_cs_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/lucene_cs_new_files_with_commit.csv -------------------------------------------------------------------------------- /commits_data/lucene_evolve.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/lucene_evolve.csv -------------------------------------------------------------------------------- /commits_data/lucene_java_new_files_with_commit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/commits_data/lucene_java_new_files_with_commit.csv -------------------------------------------------------------------------------- /data/cs_vectors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/data/cs_vectors.txt -------------------------------------------------------------------------------- /data/ground_truth.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/data/ground_truth.csv -------------------------------------------------------------------------------- /data/java_count_sdk_no_duplicated.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/data/java_count_sdk_no_duplicated.csv -------------------------------------------------------------------------------- /data/java_vectors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/data/java_vectors.txt -------------------------------------------------------------------------------- /dict/candidates_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/dict/candidates_dict.txt -------------------------------------------------------------------------------- /dumped/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/dumped/.DS_Store -------------------------------------------------------------------------------- /dumped/debug/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/dumped/debug/.DS_Store -------------------------------------------------------------------------------- /dumped/debug/tiugh24uxs/params.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/dumped/debug/tiugh24uxs/params.pkl -------------------------------------------------------------------------------- /dumped/debug/tiugh24uxs/train.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/dumped/debug/tiugh24uxs/train.log -------------------------------------------------------------------------------- /eval/java-cs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/eval/java-cs.txt -------------------------------------------------------------------------------- /evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/evaluate.py -------------------------------------------------------------------------------- /figs/1_to_1_mapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/1_to_1_mapping.png -------------------------------------------------------------------------------- /figs/gans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/gans.png -------------------------------------------------------------------------------- /figs/oov_estimation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/oov_estimation.png -------------------------------------------------------------------------------- /figs/self_refinement.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/self_refinement.png -------------------------------------------------------------------------------- /figs/single_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/single_api.png -------------------------------------------------------------------------------- /figs/task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/task.png -------------------------------------------------------------------------------- /figs/wx_y_adaptation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/figs/wx_y_adaptation.png -------------------------------------------------------------------------------- /infer_mappings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/infer_mappings.py -------------------------------------------------------------------------------- /new_found/new_found_apis.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/new_found/new_found_apis.csv -------------------------------------------------------------------------------- /paper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/paper.pdf -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/dico_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/dico_builder.py -------------------------------------------------------------------------------- /src/dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/dictionary.py -------------------------------------------------------------------------------- /src/evaluation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/evaluation/__init__.py -------------------------------------------------------------------------------- /src/evaluation/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/evaluation/evaluator.py -------------------------------------------------------------------------------- /src/evaluation/sent_translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/evaluation/sent_translation.py -------------------------------------------------------------------------------- /src/evaluation/word_translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/evaluation/word_translation.py -------------------------------------------------------------------------------- /src/evaluation/wordsim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/evaluation/wordsim.py -------------------------------------------------------------------------------- /src/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/logger.py -------------------------------------------------------------------------------- /src/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/models.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/src/utils.py -------------------------------------------------------------------------------- /supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/supervised.py -------------------------------------------------------------------------------- /translation_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/translation_matrix.py -------------------------------------------------------------------------------- /unsupervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdqnghi/SAR_API_mapping/HEAD/unsupervised.py --------------------------------------------------------------------------------