2017 · 28 citations · 30 references
ComputingComputer ScienceNatural Language ProcessingProgramming LanguagesSoftware EngineeringLexical AnalysisNatural Language UnderstandingQuestion AnsweringSyntactic AnalysisSyntax AnalysisSyntax ParsingAutomated Code MappingLexical Analysis Of Programming LanguagesNatural Language QueryingProgramming ConceptsSearch Result SnippetsSearch SyntaxSyntactic RepresentationUser Study Evaluation
Code search with natural language terms performs poorly because programming concepts do not always lexically match their syntactic forms. For example, in Java, the programming concept "array" does not match with its syntactic representation of "[ ]". Code search engines can assist developers more effectively over natural language queries if such mappings existed for a variety of programming languages. In this work, we present a programming language agnostic technique to discover such mappings between syntactic forms and natural language terms representing programming concepts. We use the questions and answers in Stack Overflow to create this mapping. We implement our approach in a tool called ANNE. To evaluate its effectiveness, we conduct a user study in an academic setting in which teaching assistants use ANNE to search for code snippets in student submissions. With the use of ANNE, we find that the participants are 29% quicker with no significant drop in correctness and completeness.
30
Introduction to information retrieval
Choice Reviews Online · 2009 · 12.6K citations
Feature-rich part-of-speech tagging with a cyclic dependency network
Kristina Toutanova, Dan Klein, Christopher D. Manning et al. · 2003 · 2.9K citations · Full text
On the naturalness of software
Abram Hindle, Earl T. Barr, Zhendong Su et al. · 2012 · 569 citations
Review of recent systems for automatic assessment of programming assignments
Petri Ihantola, Tuukka Ahoniemi, Ville Karavirta et al. · 2010 · 545 citations