arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.02720cs.CLcs.PL
收藏

TRANX:一个基于转换的神经抽象语义解析器用于语义解析和代码生成

TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generation

Carnegie Mellon University(卡内基梅隆大学)

Pengcheng Yin, Graham Neubig

摘要:

我们提出TRANX,一个基于转换的神经语义解析器,映射到正式的意义表示(MR)的自然语言(NL)的话语。TRANX使用基于目标MR的抽象语法描述语言的转换系统,这给它带来了两个主要优点:(1)它是高度精确的,使用来自目标MR的语法的信息来约束输出空间并对信息流建模,以及(2)它是高度可概括的,并且可以很容易地应用于新类型的MR,只需编写与MR中允许的结构相对应的新的抽象语法描述。在四个不同的语义解析和代码生成任务上的实验表明,我们的系统是可推广的,可扩展的,有效的,与现有的神经语义解析器相比,注册强大的结果。

英文摘要:

We present TRANX, a transition-based neural semantic parser that maps natural language (NL) utterances into formal meaning representations (MRs). TRANX uses a transition system based on the abstract syntax description language for the target MR, which gives it two major advantages: (1) it is highly accurate, using information from the syntax of the target MR to constrain the output space and model the information flow, and (2) it is highly generalizable, and can easily be applied to new types of MR by just writing a new abstract syntax description corresponding to the allowable structures in the MR. Experiments on four different semantic parsing and code generation tasks show that our system is generalizable, extensible, and effective, registering strong results compared to existing neural semantic parsers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑