亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Learning to Generate Pseudo-Code from Source Code Using Statistical Machine Translation

计算机科学 冗余代码 源代码 无法访问的代码 程序设计语言 KPI驱动的代码分析 无效代码 Python(编程语言) 系统代码 代码生成 目标代码 编码(集合论) 恒定重量代码 通用代码 静态程序分析 自然语言处理 算法 软件 软件开发 编码速率 解码方法 线性码 操作系统 集合(抽象数据类型) 区块代码 钥匙(锁)
作者
Yusuke Oda,Hiroyuki Fudaba,Graham Neubig,Hideaki Hata,Sakriani Sakti,Tomoki Toda,Satoshi Nakamura
标识
DOI:10.1109/ase.2015.36
摘要

Pseudo-code written in natural language can aid the comprehension of source code in unfamiliar programming languages. However, the great majority of source code has no corresponding pseudo-code, because pseudo-code is redundant and laborious to create. If pseudo-code could be generated automatically and instantly from given source code, we could allow for on-demand production of pseudo-code without human effort. In this paper, we propose a method to automatically generate pseudo-code from source code, specifically adopting the statistical machine translation (SMT) framework. SMT, which was originally designed to translate between two natural languages, allows us to automatically learn the relationship between source code/pseudo-code pairs, making it possible to create a pseudo-code generator with less human effort. In experiments, we generated English or Japanese pseudo-code from Python statements using SMT, and find that the generated pseudo-code is largely accurate, and aids code understanding.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Augustines完成签到,获得积分10
1秒前
L_应助自信小懒猪采纳,获得30
4秒前
李健的小迷弟应助小金妹采纳,获得10
7秒前
7秒前
8秒前
大胆迎松完成签到,获得积分10
8秒前
zihang发布了新的文献求助10
9秒前
CHEN发布了新的文献求助10
11秒前
13秒前
苹果牌牛仔裤完成签到,获得积分10
16秒前
17秒前
lsh完成签到,获得积分10
18秒前
靓丽的傲芙完成签到,获得积分10
20秒前
22秒前
Yyyyuy发布了新的文献求助10
28秒前
29秒前
任性的画板完成签到 ,获得积分20
30秒前
lsh发布了新的文献求助20
32秒前
DPH完成签到 ,获得积分10
33秒前
小金妹发布了新的文献求助10
33秒前
红宝石设计局完成签到,获得积分10
34秒前
55秒前
研友_VZG7GZ应助小金妹采纳,获得10
56秒前
1分钟前
ren完成签到 ,获得积分10
1分钟前
1分钟前
香蕉觅云应助fengxiaoyan采纳,获得10
1分钟前
大力发布了新的文献求助10
1分钟前
zihang发布了新的文献求助30
1分钟前
liualiu完成签到,获得积分10
1分钟前
1分钟前
热心的冬菱完成签到 ,获得积分10
1分钟前
fengxiaoyan发布了新的文献求助10
1分钟前
飞飞鱼应助熊熊采纳,获得10
1分钟前
1分钟前
CHEN发布了新的文献求助10
1分钟前
kk完成签到,获得积分10
1分钟前
innocent完成签到 ,获得积分10
1分钟前
orixero应助emmmm采纳,获得10
1分钟前
完美世界应助kk采纳,获得10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Salmon nasal cartilage-derived proteoglycan complexes influence the gut microbiota and bacterial metabolites in mice 2000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1500
Cowries - A Guide to the Gastropod Family Cypraeidae 1200
ON THE THEORY OF BIRATIONAL BLOWING-UP 666
Signals, Systems, and Signal Processing 610
LASER: A Phase 2 Trial of 177 Lu-PSMA-617 as Systemic Therapy for RCC 520
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6381008
求助须知:如何正确求助?哪些是违规求助? 8193342
关于积分的说明 17317302
捐赠科研通 5434397
什么是DOI,文献DOI怎么找? 2874604
邀请新用户注册赠送积分活动 1851385
关于科研通互助平台的介绍 1696148