Efficient repeating pattern finding in music databases
Proceedings of the seventh international conference on Information and knowledge management
Foundations of statistical natural language processing
Foundations of statistical natural language processing
Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition
Machine Learning and Software Engineering
ICTAI '02 Proceedings of the 14th IEEE International Conference on Tools with Artificial Intelligence
Proceedings of the 19th IEEE international conference on Automated software engineering
Using structural context to recommend source code examples
Proceedings of the 27th international conference on Software engineering
Correcting ESL errors using phrasal SMT techniques
ACL-44 Proceedings of the 21st International Conference on Computational Linguistics and the 44th annual meeting of the Association for Computational Linguistics
Centralizing clone group representation and maintenance
Proceedings of the 24th ACM SIGPLAN conference companion on Object oriented programming systems languages and applications
On the naturalness of software
Proceedings of the 34th International Conference on Software Engineering
A statistical semantic language model for source code
Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering
Hi-index | 0.00 |
This paper investigates the use of a natural language processing technique that automatically detects project-specific code templates (i.e., frequently used code blocks), which can be made available to software developers within an integrated development environment. During software development, programmers often and in some cases unknowingly rewrite the same code block that represents some functionality. These frequently used code blocks can inform the existence and possible use of code templates. Many existing code editors support code templates, but programmers are expected to manually define these templates and subsequently add them as templates in the editor. Furthermore, the support of editors to provide templates based on the editing context is still limited. The use of n-gram language models within the context of software development is described and evaluated to overcome these restrictions. The technique can search for project-specific code templates and present these templates to the programmer based on the current editing context.