HackerPapers

arXiv:1608.03000cs.CL

Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledge

Nicholas Locascio, Karthik Narasimhan, Eduardo DeLeon, Nate Kushman, Regina Barzilay

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

Abstract

This paper explores the task of translating natural language queries into regular expressions which embody their meaning. In contrast to prior work, the proposed neural model does not utilize domain-specific crafting, learning to translate directly from a parallel corpus. To fully explore the potential of neural models, we propose a methodology for collecting a large corpus of regular expression, natural language pairs. Our resulting model achieves a performance gain of 19.6% over previous state-of-the-art models.

arXiv comments
to be published in EMNLP 2016
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Aug 2016 to Aug 2016. Found in 1 HN submission from Aug 2016 to Aug 2016. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. SRL – Simple Regex Language 1 comment
    • Very nice. Would love to see versions in other programming languages. I'm very interested in examples that extrapolate this idea to other areas of programming and even math. And also work in the reverse direction. Most of the examples I've found are old or not open source.…

      edtechdevView on HNParent context

Submitted to Hacker News

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