Sciweavers

IWPC
2009
IEEE

Natural language parsing for fact extraction from source code

14 years 6 months ago
Natural language parsing for fact extraction from source code
We present a novel approach to extract structural information from source code using state-of-the-art parser technologies for natural languages. The parser technology is robust in the sense that it guarantees to produce some output, entailing that even incomplete or incorrect source code as input will get some kind of analysis. This comes at the expense of possibly assigning a partially incorrect analysis for input free of errors. However, an evaluation on source codes of the Java, Python and C/C++ languages shows that the committed errors are few i.e., our accuracy is close to 100%. The error analysis indicates that the majority of the errors remaining are harmless.
Jens Nilsson, Welf Löwe, Johan Hall, Joakim N
Added 24 May 2010
Updated 24 May 2010
Type Conference
Year 2009
Where IWPC
Authors Jens Nilsson, Welf Löwe, Johan Hall, Joakim Nivre
Comments (0)