Enriching Documents with Examples: A Corpus Mining Approach

  • Authors:
  • Jinhan Kim;Sanghoon Lee;Seung-Won Hwang;Sunghun Kim

  • Affiliations:
  • Pohang University of Science and Technology;Pohang University of Science and Technology;Pohang University of Science and Technology;Hong Kong University of Science and Technology

  • Venue:
  • ACM Transactions on Information Systems (TOIS)
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software developers increasingly rely on information from the Web, such as documents or code examples on application programming interfaces (APIs), to facilitate their development processes. However, API documents often do not include enough information for developers to fully understand how to use the APIs, and searching for good code examples requires considerable effort. To address this problem, we propose a novel code example recommendation system that combines the strength of browsing documents and searching for code examples and returns API documents embedded with high-quality code example summaries mined from the Web. Our evaluation results show that our approach provides code examples with high precision and boosts programmer productivity.