Technical Meeting

ドメインオントロジを用いた自然言語文書とソースコード間の追跡可能性の復元

Recovering Traceability Links between a NL Document and a Source Code by Using Domain Ontologies

吉川 嵩志, 林 晋平, 佐伯 元司

Takashi Yoshikawa, Shinpei Hayashi, Motoshi Saeki

情報処理学会研究報告, vol. 2009, no. 31, pp. 129–136, 化学会館,東京, March 2009.

Abstract

ソフトウェアに関わる自然言語文書とソースコードの間の追跡可能性を復元する手法が望まれる.本稿では,ドメインオントロジを用いてソフトウェアの機能を記述した自然言語文書とソースコードとを対応付ける手法を提案する.文書中の単語とコード上の識別子との類似性に基づく関係と,コード上のメソッド呼び出し関係の評価にオントロジによる意味的関係を考慮することで,詳細ではない文書に対しても高精度の対応付けを行う.オープンソースソフトウェアJDraw に対する適用事例では,オントロジを用いない場合と比較して高精度の対応付け結果を得た.

Abstract (English)

Recovering traceability links between a source code and their NL documents is significant. In this paper, we propose a technique for recovering the links between functional descriptions and a source code using domain ontologies. By using semantic relationships of the domain ontologies in addition to method-call relationships and the similarity between an identifier on the code and words in the descriptions, we can detect source code fragments corresponding to the descriptions. Through a case study using open-source software JDraw, we obtained results of higher quality than without ontologies.

Related papers

Continued in

BibTeX

@article{yoshikawa-sigse200903,
    author = {吉川 嵩志 and 林 晋平 and 佐伯 元司},
    title = {ドメインオントロジを用いた自然言語文書とソースコード間の追跡可能性の復元},
    journal = {情報処理学会研究報告},
    volume = 2009,
    number = 31,
    pages = {129--136},
    year = 2009,
}
Type
Technical Meeting
Location
化学会館,東京
Presented
March 18, 2009
Volume / Pages
vol. 2009, no. 31, pp. 129–136