HackerPapers

arXiv:1810.02720cs.CL

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

Pengcheng Yin, Graham Neubig

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
EMNLP 2018 (Demo Track)
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.PLProgramming Languages

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Apr 2019 to Apr 2019.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Chain a text-to-speech component to tranx and you're done Paper: https://arxiv.org/pdf/1810.02720v1.pdf Code: https://github.com/pcyin/tranX Live demo (try Django out): http://moto.clab.cs.cmu.edu:8081/

      patternmasterView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.