Please use this identifier to cite or link to this item: http://hdl.handle.net/10071/35761
Full metadata record
DC FieldValueLanguage
dc.contributor.authorPrendi, G.-
dc.contributor.authorSousa, H.-
dc.contributor.authorSantos, A. L.-
dc.contributor.authorRibeiro, R.-
dc.contributor.editorLuis Veiga-
dc.contributor.editorRicardo Rocha-
dc.date.accessioned2025-12-16T17:10:53Z-
dc.date.available2025-12-16T17:10:53Z-
dc.date.issued2015-
dc.identifier.citationPrendi, G., Sousa, H., Santos, A. L., & Ribeiro, R. (2015). Exploring APIs with N-gram language models. In L. Veiga, R. Rocha (Eds.), INFORUM 2015: Atas do 7º Simpósio Nacional de Informática (pp. 296-310) UBI. http://hdl.handle.net/10071/35761-
dc.identifier.isbn978-989-654-248-1-
dc.identifier.urihttp://hdl.handle.net/10071/35761-
dc.description.abstractSoftware development requires the use of external Application Programming Interfaces (APIs) in order to reuse libraries and frameworks. Programmers often struggle with unfamiliar APIs. Such difficulties often lead to an incorrect sequence of API calls that may not produce the desired outcome. Language models have shown the ability to capture regularities in text as well as in code. In this paper we explore the use of n-gram language models and their ability to capture regularities in APIs. We explored some of the most widely used APIs with the Java programming language, training several language models over hundreds of GitHub Java projects that use these APIs. The evaluation shows perplexity values for these language models that hint the possibility of using them to produce a tool to assist developers with code completion when using an unfamiliar API. On the one hand, such a tool may help developers to write correct API call sequences more efficiently; and, on the other hand, allows them to explore the features offered by the API.eng
dc.language.isoeng-
dc.publisherUBI - Universidade da Beira Interior-
dc.relation.ispartofINFORUM 2015: Atas do 7º Simpósio Nacional de Informática-
dc.rightsopenAccess-
dc.subjectAPIseng
dc.subjectJava -- Javaeng
dc.subjectPerplexityeng
dc.subjectSource code miningeng
dc.subjectCode completioneng
dc.subjectN-gram language modelseng
dc.titleExploring APIs with N-gram language modelseng
dc.typeconferenceObject-
dc.event.titleINFORUM 2015-
dc.event.typeConferênciapt
dc.event.locationCovilhãeng
dc.event.date2015-
dc.pagination296 - 310-
dc.peerreviewedyes-
dc.date.updated2025-12-16T17:09:38Z-
dc.description.versioninfo:eu-repo/semantics/publishedVersion-
iscte.identifier.cienciahttps://ciencia.iscte-iul.pt/id/ci-pub-24695-
Appears in Collections:ISTAR-CRN - Comunicações a conferências nacionais

Files in This Item:
File SizeFormat 
conferenceObject_24695.pdf523,78 kBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpaceOrkut
Formato BibTex mendeley Endnote Logotipo do DeGóis Logotipo do Orcid 

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.