• DocumentCode
    1637077
  • Title

    Fast and Precise Statistical Code Completion

  • Author

    Roos, Pascal

  • Author_Institution
    ETH Zurich, Zurich, Switzerland
  • Volume
    2
  • fYear
    2015
  • Firstpage
    757
  • Lastpage
    759
  • Abstract
    The main problem we try to solve is API code completion which is both precise and works in real-time. We describe an efficient implementation of an N-gram language model combined with several smoothing methods and a completion algorithm based on beam search. We show that our system is both fast and precise using a thorough experimental evaluation. With optimal parameters we are able to find completions in milliseconds and the desired completion is in the top 3 suggestions in 89% of the time.
  • Keywords
    application program interfaces; programming languages; statistical analysis; API code completion; N-gram language model; beam search; completion algorithm; experimental evaluation; smoothing methods; statistical code completion; Computational modeling; Libraries; Probability; Real-time systems; Runtime; Semantics; Smoothing methods; APIs; Code Completion; Statistical Language Models; Synthesis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/ICSE.2015.240
  • Filename
    7203061