Automatic Retrieval Method for Tracing Links Between Code and Chinese Documentation

钱剑飞,陈华,陈奇,俞瑞钊
DOI: https://doi.org/10.3785/j.issn.1008-973x.2004.11.006
2004-01-01
Abstract:A new retrieval method based on information query for links between source code and Chinese documentation automatically was proposed. A programmer used to adopt significative class, function and variable name, and got the relevant documentation by using information query method. Based on such hypothesis, a stochastic language model was built which assigned probability to every query string of words taken from all of the documents. Then for each source code file, a list of documents that ranked according to the probability of relevance was generated, and a relevance matrix linking each source code file to the documents was obtained. Experiments showed that above 95 percent of the links was traced when only the top 5 documents were taken from the ranked list.
What problem does this paper attempt to address?