Translating formal software specifications to natural language - A grammar-based approach

被引:11
作者
Burke, DA [1 ]
Johannisson, K
机构
[1] Chalmers Univ Technol, Dept Comp Sci, SE-41296 Gothenburg, Sweden
[2] Univ Gothenburg, SE-41296 Gothenburg, Sweden
来源
LOGICAL ASPECTS OF COMPUTATIONAL LINGUISTICS, PROCEEDINGS | 2005年 / 3492卷
关键词
D O I
10.1007/11422532_4
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We describe a system for automatically translating formal software specifications to natural language. The system produces natural language which is acceptable to a human reader, and it supports by-hand optimization by users who are not experts of our system. The translation system is implemented using the Grammatical Framework, a grammar formalism based on Martin-Lof's type theory. We show that this grammar-based approach scales well enough to handle a non-trivial case study: translating the Object Constraint Language specifications of the Java Card API into English.
引用
收藏
页码:51 / 66
页数:16
相关论文
共 16 条
[11]  
MARTINLOF P, 1984, INTUITONISTIC TYPE T
[12]  
MEIJER H, 2001, LECT NOTES COMPUTER, V2140, P165
[13]   A type-theoretical grammar formalism [J].
Ranta, A .
JOURNAL OF FUNCTIONAL PROGRAMMING, 2004, 14 :145-189
[14]  
RANTA A, 2004, GF RESOURCE GRAMMAR
[15]  
REITER E, 1997, J NATURAL LANGUAGE E, V3, P57
[16]  
Sommerville I., 2004, SOFTWARE ENG