{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/language-to-logical-form-with-neural","title":"Language to Logical Form with Neural Attention","arxiv_id":"1601.01280","date":"2016-01-06","proceeding":"ACL 2016 8","authors":["Li Dong","Mirella Lapata"],"abstract":"Semantic parsing aims at mapping natural language to machine interpretable\nmeaning representations. Traditional approaches rely on high-quality lexicons,\nmanually-built templates, and linguistic features which are either domain- or\nrepresentation-specific. In this paper we present a general method based on an\nattention-enhanced encoder-decoder model. We encode input utterances into\nvector representations, and generate their logical forms by conditioning the\noutput sequences or trees on the encoding vectors. Experimental results on four\ndatasets show that our approach performs competitively without using\nhand-engineered features and is easy to adapt across domains and meaning\nrepresentations.","url_abs":"http://arxiv.org/abs/1601.01280v2","url_pdf":"http://arxiv.org/pdf/1601.01280v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"language-to-logical-form-with-neural","repo_url":"https://github.com/donglixp/lang2logic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"language-to-logical-form-with-neural","repo_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"language-to-logical-form-with-neural","repo_url":"https://github.com/avikdelta/parse_seq2seq","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"language-to-logical-form-with-neural","repo_url":"https://github.com/halecakir/Sent2LogicalForm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"language-to-logical-form-with-neural","repo_url":"https://github.com/jrimyak/parse_seq2seq","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"form","task_name":"Form"},{"task_slug":"semantic-parsing","task_name":"Semantic Parsing"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1601.01280","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1601.01280"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/donglixp/lang2logic","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/avikdelta/parse_seq2seq","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/halecakir/Sent2LogicalForm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jrimyak/parse_seq2seq","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"listed":{"samples":7,"ran":1,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"6fd61b26b725b4e9","entry":"read_vocab","repo":"halecakir/Sent2LogicalForm","repo_kind":"listed","path":"Dynet/Seq2Seq.py","file_url":"https://github.com/halecakir/Sent2LogicalForm/blob/HEAD/Dynet/Seq2Seq.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6fd61b26b725b4e9"}},{"code_sha256_prefix":"ad8f0e24aab1483d","entry":"convert_to_string","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/attention/sample.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/attention/sample.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ad8f0e24aab1483d"}},{"code_sha256_prefix":"d202c4052e2a4132","entry":"convert_to_tree","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/attention/util.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/attention/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d202c4052e2a4132"}},{"code_sha256_prefix":"774e024162ce6e3e","entry":"do_generate","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/attention/sample.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/attention/sample.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"774e024162ce6e3e"}},{"code_sha256_prefix":"2f9c4cf4f45abd5e","entry":"is_all_same","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/attention/util.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/attention/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f9c4cf4f45abd5e"}},{"code_sha256_prefix":"bd8094bfb6360fad","entry":"norm_tree","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/attention/util.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/attention/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bd8094bfb6360fad"}},{"code_sha256_prefix":"1153c331a0d407e5","entry":"norm_tree","repo":"Alex-Fabbri/lang2logic-PyTorch","repo_kind":"listed","path":"seq2seq/atis/lstm/util.py","file_url":"https://github.com/Alex-Fabbri/lang2logic-PyTorch/blob/HEAD/seq2seq/atis/lstm/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1153c331a0d407e5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}