SWIM: synthesizing what i mean: code search and idiomatic snippet synthesis
Open accessThe DOI matches its Crossref record; 1 of the 1 references it cites were found in a registry or an index.
Abstract
Modern programming frameworks come with large libraries, with diverse applications such as for matching regular expressions, parsing XML files and sending email. Programmers often use search engines such as Google and Bing to learn about existing APIs. In this paper, we describe SWIM, a tool which suggests code snippets given API-related natural language queries such as "generate md5 hash code". The query does not need to contain framework-specific trivia such as the type names or methods of interest.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Code completion with statistical language models
Raychev, V., Vechev, M., & Yahav, E. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594321 · Cited by 555
Research works printed but not linked: 25
- Apache Lucene . https://lucene.apache.org , 2015 . Accessed on August 18, 2015. Apache Lucene. https://lucene.apache.org, 2015. Accessed on August 18, 2015.
- A. Allamanis , D. Tarlow , A. Gordon , and Y. Wei . Bimodal modelling of source code and natural language . In Proceedings of the 32th International Conference on Machine Learning, ICML 2015 , 2015 . A. Allamanis, D. Tarlow, A. Gordon, and Y. Wei. Bimodal modelling of source code and natural language. In Proceedings of the 32th International Conference on Machine Learning, ICML 2015, 2015.
- 10.5555/2487085.2487127 · doi:10.5555/2487085.2487127
- 10.1145/1040305.1040314 · DOI · Paper page
- 10.5555/972470.972474 · doi:10.5555/972470.972474
- 10.1007/978-3-642-00593-0_26 · DOI
- 10.1145/2568225.2568250 · DOI · Paper page
- 10.1145/2396761.2530275 · doi:10.1145/2396761.2530275
- 10.1145/1831708.1831723 · DOI
- 10.5555/2819009.2819139 · doi:10.5555/2819009.2819139
- 10.1145/2491956.2462192 · DOI · Paper page
- 10.5555/2032305.2032338 · doi:10.5555/2032305.2032338
- 10.1109/52.2023 · doi:10.1109/52.2023
- 10.1145/2568225.2568292 · DOI · Paper page
- 10.1145/2462456.2464443 · DOI · Paper page
- 10.1145/1065010.1065018 · DOI · Paper page
- 10.1145/2384616.2384689 · DOI
- 10.1145/2430536.2430541 · DOI
- K. Ng , M. Warren , P. Golde , and A. Hejlsberg . The Roslyn project: Exposing the C# and VB compiler's code analysis. Microsoft white paper , Oct. 2011 . K. Ng, M. Warren, P. Golde, and A. Hejlsberg. The Roslyn project: Exposing the C# and VB compiler's code analysis. Microsoft white paper, Oct. 2011.
- 10.5555/2818754.2818858 · doi:10.5555/2818754.2818858
- 10.1145/1595696.1595767 · DOI · Paper page
- 10.1145/2254064.2254098 · DOI
- 10.1145/2676726.2677009 · DOI · Paper page
- 10.1109/TSE.1986.6312929 · DOI · Paper page
- 10.5555/645893.671612 · doi:10.5555/645893.671612
Cited by
A Syntactic Neural Model for General-Purpose Code Generation
Yin, P., & Neubig, G. (2017) · Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p17-1041 · Cited by 623
A Syntactic Neural Model for General-Purpose Code Generation
Yin, P., & Neubig, G. (2017) · arXiv · doi:10.48550/arxiv.1704.01696 · Cited by 585
Gu, X., Zhang, H., & Kim, S. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180167 · Cited by 547
Gu, X., Zhang, H., Zhang, D., & Kim, S. (2016) · Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2950290.2950334 · Cited by 485
Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming
Kazemitabaar, M., Chow, J., Ma, C. K. T., Ericson, B. J., Weintrop, D., & Grossman, T. (2023) · Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3544548.3580919 · Cited by 366
Metadata
- Authors
- Raghothaman, M., Wei, Y., & Hamadi, Y.
- Venue
- Proceedings of the 38th International Conference on Software Engineering
- Publisher
- ACM
- Published
- 2016-05-14
- Pages
- 357-367
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W2175297521
- Cited by
- 132
- References
- 1
- FWCI
- 13.68
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: SWIM: synthesizing what i mean: code search and idiomatic snippet synthesis. https://app.cochat.ai/papers/10.1145/2884781.2884808
- The paper
- Raghothaman, M., Wei, Y., & Hamadi, Y. (2016). SWIM: synthesizing what i mean: code search and idiomatic snippet synthesis. Proceedings of the 38th International Conference on Software Engineering. https://doi.org/10.1145/2884781.2884808
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.