Migrating Code with Statistical Machine Translation

被引:25
作者
Anh Tuan Nguyen [1 ]
Tung Thanh Nguyen [2 ]
Nguyen, Tien N. [1 ]
机构
[1] Iowa State Univ, ECpE Dept, Ames, IA 50011 USA
[2] Utah State Univ, Dept Comp Sci, Logan, UT 84322 USA
来源
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014) | 2014年
关键词
Language Migration; Statistical Machine Translation;
D O I
10.1145/2591062.2591072
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the era of mobile computing, developers often need to migrate code written for one platform in a programming language to another language for a different platform, e.g., from Java for Android to C# for Windows Phone. The migration process is often performed manually or semi-automatically, in which developers are required to manually define translation rules and API mappings. This paper presents semSMT, an automatic tool to migrate code written in Java to C#. semSMT utilizes statistical machine translation to automatically infer translation rules from existing migrated code, thus, requires no manual defining of rules.
引用
收藏
页码:544 / 547
页数:4
相关论文
共 14 条
  • [1] [Anonymous], 2010, Statistical Machine Translation
  • [2] [Anonymous], 2003, Proceedings of HLT-NAACL
  • [3] Brown P. F., 1993, Computational Linguistics, V19, P263
  • [4] El-Ramly M, 2006, I C COMP SYST APPLIC, P1036
  • [5] A lightweight approach for migrating web frameworks
    Hassan, AE
    Holt, RC
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2005, 47 (08) : 521 - 532
  • [6] Meng S., 2012, ICSE 12
  • [7] Mossienko M., 2003, CSMR 03
  • [8] Nguyen A. T., 2013, P ACM SIGSOFT S FDN
  • [9] Nguyen T. T., 2013, P ACM SIGSOFT S FDN
  • [10] VANDEURSEN A, 1999, ICSE 99