首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Pseudogen: A Tool to Automatically Generate Pseudo-code from Source Code
【24h】

Pseudogen: A Tool to Automatically Generate Pseudo-code from Source Code

机译:pseudogen:一种从源代码自动生成伪代码的工具

获取原文

摘要

Understanding the behavior of source code written in an unfamiliar programming language is difficult. One way to aid understanding of difficult code is to add corresponding pseudo-code, which describes in detail the workings of the code in a natural language such as English. In spite of its usefulness, most source code does not have corresponding pseudo-code because it is tedious to create. This paper demonstrates a tool Pseudogen that makes it possible to automatically generate pseudo-code from source code using statistical machine translation (SMT). Pseudogen currently supports generation of English or Japanese pseudo-code from Python source code, and the SMT framework makes it easy for users to create new generators for their preferred source code/pseudo-code pairs.
机译:了解以不熟悉的编程语言编写的源代码的行为很难。帮助理解困难代码的一种方法是添加相应的伪代码,该伪代码详细描述了以英语等自然语言的代码的工作。尽管有其有用,但大多数源代码都没有相应的伪代码,因为创建是乏味的。本文演示了一种工具伪原,使得可以使用统计机器翻译(SMT)自动从源代码中自动生成伪代码。 Pseudogen目前支持来自Python源代码的英语或日本伪代码,SMT框架使用户可以轻松为其首选源代码/伪代码对创建新生成器。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号