2017
DOI: 10.1016/j.jss.2016.06.063
|View full text |Cite
|
Sign up to set email alerts
|

Stepwise API usage assistance using n -gram language models

Abstract: Reusing software involves learning third-party APIs, a process that is often time-consuming and error-prone. Recommendation systems for API usage assistance based on statistical models built from source code corpora are capable of assisting API users through code completion mechanisms in IDEs. A valid sequence of API calls involving different types may be regarded as a well-formed sentence of tokens from the API vocabulary. In this article we describe an approach for recommending subsequent tokens to complete … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
5
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
4
2
1

Relationship

1
6

Authors

Journals

citations
Cited by 12 publications
(5 citation statements)
references
References 28 publications
0
5
0
Order By: Relevance
“…• A language model is a statistical model that allows computing the probability of a sentence, or predict the next word in a sentence for a given language [33]. From a generative perspective, all sentences of a (natural) language can be described in terms of the product of a set of conditional probabilities [34]. Hence, the probability of a sentence ω = (t 0 ,t 1 ,...t n ) is given by : P(ω) = P(t 0 )P(t 1 |t 0 )P(t 2 |t 0 t 1 )...P(t n |t 0 t 1 ...t n-1 )…”
Section: Definition 5 N-gram Language Modelsmentioning
confidence: 99%
See 1 more Smart Citation
“…• A language model is a statistical model that allows computing the probability of a sentence, or predict the next word in a sentence for a given language [33]. From a generative perspective, all sentences of a (natural) language can be described in terms of the product of a set of conditional probabilities [34]. Hence, the probability of a sentence ω = (t 0 ,t 1 ,...t n ) is given by : P(ω) = P(t 0 )P(t 1 |t 0 )P(t 2 |t 0 t 1 )...P(t n |t 0 t 1 ...t n-1 )…”
Section: Definition 5 N-gram Language Modelsmentioning
confidence: 99%
“…A system that assists developers in API usage with code completion recommendation, using a n-gram probabilistic language model, supported by API sentences extracted from source code corpora, is described in [34].…”
Section: Related Workmentioning
confidence: 99%
“…• A language model is a statistical model that allows computing the probability of a sentence, or predict the next word in a sentence for a given language [31]. From a generative perspective, all sentences of a (natural) language can be described in terms of the product of a set of conditional probabilities [185]. Hence, the probability of a sentence ω = (t 0 ,t 1 ,...t n ) is given by : P(ω) = P(t 0 )P(t 1 |t 0 )P(t 2 |t 0 t 1 )...P(t n |t 0 t 1 ...t n-1 )…”
Section: Definition 4 Development Profilementioning
confidence: 99%
“…In [185], a system was built to assists developers in Application Program Interface (API) usage with code completion recommendation, using a n-gram probabilistic language model, supported by API sentences extracted from source code corpora.…”
Section: Natural Language Modelsmentioning
confidence: 99%
“…First, existing research appears one-sided (technically-focused), arguably because APIs were mostly conceptualised as technical systems and limited to the domain of developers [ 11 , 27 ]. Thus, there is less attention on other social concepts like agility at the individual, firm or multi-firm levels [ [30] , [31] , [32] ]. API integration within organisations significantly influences strategic transformation and decision-making [ 33 ].…”
Section: Introductionmentioning
confidence: 99%