Language to Code: Learning Semantic Parsers for If-This-Then-That Recipes

被引:0
|
作者
Quirk, Chris [1 ]
Mooney, Raymond [2 ]
Galley, Michel [1 ]
机构
[1] Microsoft Res, Redmond, WA 98052 USA
[2] UT Austin, Austin, TX USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Using natural language to write programs is a touchstone problem for computational linguistics. We present an approach that learns to map natural-language descriptions of simple "if-then" rules to executable code. By training and testing on a large corpus of naturally-occurring programs (called "recipes") and their natural language descriptions, we demonstrate the ability to effectively map language to code. We compare a number of semantic parsing approaches on the highly noisy training data collected from ordinary users, and find that loosely synchronous systems perform best.
引用
收藏
页码:878 / 888
页数:11
相关论文
共 50 条
  • [41] A GRAMMAR DESCRIPTION LANGUAGE FOR LEXICAL AND SYNTACTIC PARSERS
    GENILLARD, C
    STROHMEIER, A
    [J]. SIGPLAN NOTICES, 1988, 23 (10): : 103 - 122
  • [42] NETWORKS OF EVOLUTIONARY PROCESSORS AS NATURAL LANGUAGE PARSERS
    Bel-Enguix, Gemma
    Dolores Jimenez-Lopez, M.
    Merca, Robert
    Perekrestenko, Alexander
    [J]. ICAART 2009: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON AGENTS AND ARTIFICIAL INTELLIGENCE, 2009, : 619 - +
  • [43] Semantic vector learning for natural language understanding
    Jung, Sangkeun
    [J]. COMPUTER SPEECH AND LANGUAGE, 2019, 56 : 130 - 145
  • [44] Semantic Prosody Revisited: Implications for Language Learning
    Omidian, Taha
    Siyanova-Chanturia, Anna
    [J]. TESOL QUARTERLY, 2020, 54 (02) : 512 - 524
  • [45] Training parsers by inverse reinforcement learning
    Gergely Neu
    Csaba Szepesvári
    [J]. Machine Learning, 2009, 77 : 303 - 337
  • [46] Probing Semantic Grounding in Language Models of Code with Representational Similarity Analysis
    Naik, Shounak
    Patil, Rajaswa
    Agarwal, Swati
    Baths, Veeky
    [J]. ADVANCED DATA MINING AND APPLICATIONS, ADMA 2022, PT II, 2022, 13726 : 395 - 406
  • [47] Semantic Inference from Natural Language Privacy Policies and Android Code
    Hosseini, Mitra Bokaei
    [J]. ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, : 940 - 943
  • [48] SEMANTIC ANALYSIS IN SYSTEM FOR AUTOMATIC TRANSLATION INTO RX-CODE LANGUAGE
    GRYAZNUKHINA, TA
    KUZEMSKAYA, NA
    SKOROKHO.EF
    [J]. NAUCHNO-TEKHNICHESKAYA INFORMATSIYA SERIYA 2-INFORMATSIONNYE PROTSESSY I SISTEMY, 1974, (04): : 11 - 17
  • [49] Syntactic and Semantic Features For Code-Switching Factored Language Models
    Adel, Heike
    Ngoc Thang Vu
    Kirchhoff, Katrin
    Telaar, Dominic
    Schultz, Tanja
    [J]. IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2015, 23 (03) : 431 - 440
  • [50] Few-Shot Semantic Parsing with Language Models Trained on Code
    Shin, Richard
    Van Durme, Benjamin
    [J]. NAACL 2022: THE 2022 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES, 2022, : 5417 - 5425