Using Semantic Unification to Generate Regular Expressions from Natural Language
Author(s)
Kushman, Nate; Barzilay, Regina
DownloadBarzilay_Using Semantic.pdf (304.2Kb)
OPEN_ACCESS_POLICY
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
We consider the problem of translating natural language text queries into regular expressions which represent their meaning. The mismatch in the level of abstraction between the natural language representation and the regular expression representation make this a novel and challenging problem. However, a given regular expression can be written in many semantically equivalent forms, and we exploit this flexibility to facilitate translation by finding a form which more directly corresponds to the natural language. We evaluate our technique on a set of natural language queries and their associated regular expressions which we gathered from Amazon Mechanical Turk. Our model substantially outperforms a state-of-the-art semantic parsing baseline, yielding a 29% absolute improvement in accuracy.
Date issued
2013-06Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
Proceedsings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies
Publisher
North American Chapter of the Association for Computational Linguistics (NAACL)
Citation
Kushman, Nate; Barzilay, Regina. "Using Semantic Unification to Generate Regular Expressions from Natural Language". North American Chapter of the Association for Computational Linguistics (NAACL) 2013.
Version: Author's final manuscript