2009 · 72 citations · 10 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingText AnalyticsKeyword AnalysisKeyword ExtractionLanguage ModelingText PreprocessingAbbreviation ExpansionAcronym ExpansionHidden Markov Model TrainingLines Of CodeText CompletionUser Interface IntegrationUser Study Evaluation
Abbreviation Completion is a novel technique to improve the efficiency of code-writing by supporting code completion of multiple keywords based on non-predefined abbreviated input - a different approach from conventional code completion that finds one keyword at a time based on an exact character match. Abbreviated input is expanded into keywords by a Hidden Markov Model learned from a corpus of existing code. The technique does not require the user to memorize abbreviations and provides incremental feedback of the most likely completions. This paper presents the algorithm for abbreviation completion, integrated with a new user interface for multiple-keyword completion. We tested the system by sampling 3000 code lines from open source projects and found that more than 98% of the code lines could be resolved from acronym-like abbreviations. A user study found 30% reduction in time usage and 41% reduction of keystrokes over conventional code completion.
10
Using task context to improve programmer productivity
Mik Kersten, Gail C. Murphy · 2006 · 447 citations
David Mandelin, Lin Xu, Rastislav Bodík et al. · ACM SIGPLAN Notices · 2005 · 393 citations
David Mandelin, Lin Xu, Rastislav Bodík et al. · 2005 · 260 citations
Naiyana Sahavechaphan, Kajal Claypool · 2006 · 227 citations