Files
Yanxin Lu ff146a9362 Archive 12 API mapping research papers (related work for PhD)
Reference papers on API mapping, migration, and evolution collected during
PhD research (2018). Topics include: API usage adaptation (LibSync),
statistical API mapping mining (StaMiner, MAM), API mapping via vector
representations (Word2Vec), text mining for API mappings (TMAP),
library migration graphs, framework evolution (AURA), class library
migration refactoring, and API specification inference (Doc2Spec).
2026-04-06 12:06:56 -07:00

982 B

category, type, person, date, source
category type person date source
academic academic Yanxin Lu 2012 zhong_12_spec.pdf

Inferring Resource Specifications from Natural Language API Documentation

Hao Zhong, Lu Zhang, Tao Xie, Hong Mei (Peking University, NC State)

Typically, software libraries provide API documentation through which developers can learn how to use libraries correctly. However, developers may still write code inconsistent with API documentation and thus introduce bugs. The authors propose Doc2Spec, an approach that infers resource specifications from existing API documentation in natural languages. The approach uses Natural Language Processing (NLP) techniques to analyze API documentation and infer resource specifications. Evaluation on Javadocs of five libraries shows the approach infers various specifications with relatively high precisions, recalls, and F-scores. The inferred specifications are useful to detect previously known or unknown bugs in open source projects.