{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T23:11:03Z","timestamp":1794784263337,"version":"4.9.1"},"publisher-location":"Cham","reference-count":21,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031657931","type":"print"},{"value":"9783031657948","type":"electronic"}],"license":[{"start":{"date-parts":[[2024,1,1]],"date-time":"2024-01-01T00:00:00Z","timestamp":1704067200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,8,15]],"date-time":"2024-08-15T00:00:00Z","timestamp":1723680000000},"content-version":"vor","delay-in-days":227,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>An increasing amount of scientists link to their research software code implementations in their academic publications in order to support the reusability of their results. However, research papers usually contain many code links (e.g., from reused tools or existing competing efforts) making it challenging to automatically establish clear links between papers and their corresponding implementations. This paper presents RepoFromPaper, an approach for automatically extracting the main code implementation associated with a research paper, based on the context in which that link is mentioned. Our approach uses fine-tuned language models to retrieve the top candidate sentences where a code implementation may be found, and uses custom heuristics to link candidate sentences back to their corresponding URL (footnote, reference or full-text mention). We evaluated RepoFromPaper on 150 research papers, obtaining an F1 score of 0.94. We also run our approach on nearly 1800 papers from the CS.AI Arxiv category, discovering 604 paper-repository links and making them available to the community.<\/jats:p>","DOI":"10.1007\/978-3-031-65794-8_7","type":"book-chapter","created":{"date-parts":[[2024,8,14]],"date-time":"2024-08-14T02:02:44Z","timestamp":1723600964000},"page":"100-113","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["RepoFromPaper: An Approach to\u00a0Extract Software Code Implementations from\u00a0Scientific Publications"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-4731-7112","authenticated-orcid":false,"given":"Aleksandar","family":"Stankovski","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0454-7145","authenticated-orcid":false,"given":"Daniel","family":"Garijo","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,8,15]]},"reference":[{"key":"7_CR1","doi-asserted-by":"crossref","unstructured":"Beltagy, I., Lo, K., Cohan, A.: SciBERT: a pretrained language model for scientific text. arXiv preprint arXiv:1903.10676 (2019)","DOI":"10.18653\/v1\/D19-1371"},{"key":"7_CR2","doi-asserted-by":"publisher","unstructured":"Chue\u00a0Hong, N.P., et al.: FAIR Principles for Research Software (FAIR4RS Principles) (2022). https:\/\/doi.org\/10.15497\/RDA00068","DOI":"10.15497\/RDA00068"},{"key":"7_CR3","doi-asserted-by":"publisher","DOI":"10.1007\/978-0-387-39940-9_488","volume-title":"Encyclopedia of Database Systems","author":"N Craswell","year":"2009","unstructured":"Craswell, N.: Mean reciprocal rank. In: Liu, L., \u00d6zsu, M.T. (eds.) Encyclopedia of Database Systems. Springer, Boston (2009). https:\/\/doi.org\/10.1007\/978-0-387-39940-9_488"},{"key":"7_CR4","unstructured":"Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)"},{"key":"7_CR5","doi-asserted-by":"publisher","unstructured":"Druskat, S., et al.: Citation File Format (2021). https:\/\/doi.org\/10.5281\/zenodo.5171937","DOI":"10.5281\/zenodo.5171937"},{"key":"7_CR6","doi-asserted-by":"publisher","unstructured":"Du, C., Cohoon, J., Lopez, P., Howison, J.: Softcite dataset: a dataset of software mentions in biomedical and economic research publications 72(7), 870\u2013884 (2021). https:\/\/doi.org\/10.1002\/asi.24454","DOI":"10.1002\/asi.24454"},{"key":"7_CR7","doi-asserted-by":"publisher","unstructured":"Garijo, D., Arroyo, M., Gonzalez, E., Treude, C., Tarocco, N.: Bidirectional paper-repository tracing in software engineering. In: 21st International Conference on Mining Software Repositories (MSR 2024). ACM, Cham (2024). https:\/\/doi.org\/10.1145\/3643991.3644876","DOI":"10.1145\/3643991.3644876"},{"issue":"9","key":"7_CR8","doi-asserted-by":"publisher","first-page":"2137","DOI":"10.1002\/asi.23538","volume":"67","author":"J Howison","year":"2016","unstructured":"Howison, J., Bullard, J.: Software in the scientific literature: problems with seeing, finding, and using software mentioned in the biology literature. J. Am. Soc. Inf. Sci. 67(9), 2137\u20132155 (2016). https:\/\/doi.org\/10.1002\/asi.23538","journal-title":"J. Am. Soc. Inf. Sci."},{"key":"7_CR9","unstructured":"Katz, D.S., et\u00a0al.: Software citation implementation challenges. arXiv preprint arXiv:1905.08674 (2019)"},{"key":"7_CR10","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"289","DOI":"10.1007\/978-3-319-96418-8_34","volume-title":"Mathematical Software \u2013 ICMS 2018","author":"DS Katz","year":"2018","unstructured":"Katz, D.S., Chue Hong, N.P.: Software citation in theory and practice. In: Davenport, J.H., Kauers, M., Labahn, G., Urban, J. (eds.) ICMS 2018. LNCS, vol. 10931, pp. 289\u2013296. Springer, Cham (2018). https:\/\/doi.org\/10.1007\/978-3-319-96418-8_34"},{"key":"7_CR11","doi-asserted-by":"publisher","unstructured":"Katz, D.S., et\u00a0al.: Recognizing the value of software: a software citation guide. F1000Research 9 (2020). https:\/\/doi.org\/10.12688\/f1000research.26932.1","DOI":"10.12688\/f1000research.26932.1"},{"issue":"07","key":"7_CR12","doi-asserted-by":"publisher","first-page":"947","DOI":"10.1142\/S0218194022500358","volume":"32","author":"J Lin","year":"2022","unstructured":"Lin, J., Wang, Y., Yu, Y., Zhou, Y., Chen, Y., Shi, X.: Automatic analysis of available source code of top artificial intelligence conference papers. Int. J. Softw. Eng. Knowl. Eng. 32(07), 947\u2013970 (2022). https:\/\/doi.org\/10.1142\/S0218194022500358","journal-title":"Int. J. Softw. Eng. Knowl. Eng."},{"key":"7_CR13","unstructured":"Liu, Y., et al.: RoBERTa: a robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692 (2019)"},{"key":"7_CR14","doi-asserted-by":"publisher","unstructured":"Schindler, D., Bensmann, F., Dietze, S., Kr\u00fcger, F.: Somesci- a 5 star open data gold standard knowledge graph of software mentions in scientific articles. In: Proceedings of the 30th ACM International Conference on Information & Knowledge Management, CIKM 2021, pp. 4574\u20134583. Association for Computing Machinery, New York (2021). https:\/\/doi.org\/10.1145\/3459637.3482017","DOI":"10.1145\/3459637.3482017"},{"key":"7_CR15","doi-asserted-by":"publisher","DOI":"10.7717\/peerj-cs.86","volume":"2","author":"AM Smith","year":"2016","unstructured":"Smith, A.M., Katz, D.S., Niemeyer, K.E.: Software citation principles. PeerJ Comput. Sci. 2, e86 (2016). https:\/\/doi.org\/10.7717\/peerj-cs.86","journal-title":"PeerJ Comput. Sci."},{"key":"7_CR16","doi-asserted-by":"publisher","DOI":"10.7717\/peerj-cs.86","volume":"2","author":"AM Smith","year":"2016","unstructured":"Smith, A.M., Katz, D.S., Niemeyer, K.E.: FORCE11 software citation working group: software citation principles. PeerJ Comput. Sci. 2, e86 (2016). https:\/\/doi.org\/10.7717\/peerj-cs.86","journal-title":"PeerJ Comput. Sci."},{"key":"7_CR17","doi-asserted-by":"publisher","unstructured":"Stankovski, A.: PapersWithCode-Corpus Repository Proposal Sentences Training Dataset (2024). https:\/\/doi.org\/10.5281\/zenodo.10701846","DOI":"10.5281\/zenodo.10701846"},{"key":"7_CR18","doi-asserted-by":"publisher","unstructured":"Stankovski, A.: Repofrompaper comparison with Bidir method (2024). https:\/\/doi.org\/10.5281\/zenodo.10988947","DOI":"10.5281\/zenodo.10988947"},{"key":"7_CR19","doi-asserted-by":"publisher","unstructured":"Stankovski, A.: RepoFromPaper Repository Implementation Link Testing Dataset (2024). https:\/\/doi.org\/10.5281\/zenodo.10980368","DOI":"10.5281\/zenodo.10980368"},{"key":"7_CR20","doi-asserted-by":"publisher","unstructured":"Stankovski, A.: RFP output on CSAI papers from 2022\/23 (2024). https:\/\/doi.org\/10.5281\/zenodo.10975879","DOI":"10.5281\/zenodo.10975879"},{"key":"7_CR21","doi-asserted-by":"publisher","unstructured":"Stankovski, A.: Stankovskia\/repofrompaper: v1.0.1 (2024). https:\/\/doi.org\/10.5281\/zenodo.10988913","DOI":"10.5281\/zenodo.10988913"}],"container-title":["Lecture Notes in Computer Science","Natural Scientific Language Processing and Research Knowledge Graphs"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-65794-8_7","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,8,14]],"date-time":"2024-08-14T02:03:59Z","timestamp":1723601039000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-65794-8_7"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024]]},"ISBN":["9783031657931","9783031657948"],"references-count":21,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-65794-8_7","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-65794-8","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024]]},"assertion":[{"value":"15 August 2024","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"NSLP","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Workshop on Natural Scientific Language Processing and Research Knowledge Graphs","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Hersonissos, Crete","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Greece","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2024","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"26 May 2024","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"26 May 2024","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"1","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"nslp2024","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/nfdi4ds.github.io\/nslp2024\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}