{"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/discontinuous-constituent-parsing-as-sequence","title":"Discontinuous Constituent Parsing as Sequence Labeling","arxiv_id":"2010.00633","date":"2020-10-01","proceeding":"EMNLP 2020 11","authors":["David Vilares","Carlos Gómez-Rodríguez"],"abstract":"This paper reduces discontinuous parsing to sequence labeling. It first shows that existing reductions for constituent parsing as labeling do not support discontinuities. Second, it fills this gap and proposes to encode tree discontinuities as nearly ordered permutations of the input sequence. Third, it studies whether such discontinuous representations are learnable. The experiments show that despite the architectural simplicity, under the right representation, the models are fast and accurate.","url_abs":"https://arxiv.org/abs/2010.00633v1","url_pdf":"https://arxiv.org/pdf/2010.00633v1.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":"discontinuous-constituent-parsing-as-sequence","repo_url":"https://github.com/aghie/disco2labels","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.00633","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.00633"}},"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":"deterministic:regex_extraction","url":"https://github.com/aghie/disco2labels","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"official":{"samples":10,"ran":1,"repositories":1}},"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":0,"samples":[{"code_sha256_prefix":"8e960fbb64668568","entry":"log_sum_exp","repo":"aghie/disco2labels","repo_kind":"official","path":"NCRF/model/crf.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/NCRF/model/crf.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e960fbb64668568"}},{"code_sha256_prefix":"b53cb159746bdff2","entry":"accuracy","repo":"aghie/disco2labels","repo_kind":"official","path":"run_token_classifier.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/run_token_classifier.py","link_basis":"first_harvest_node","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":"b53cb159746bdff2"}},{"code_sha256_prefix":"7da1402502e66d3f","entry":"convert_examples_to_features","repo":"aghie/disco2labels","repo_kind":"official","path":"run_token_classifier.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/run_token_classifier.py","link_basis":"first_harvest_node","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":"7da1402502e66d3f"}},{"code_sha256_prefix":"a2def652050ab186","entry":"evaluate","repo":"aghie/disco2labels","repo_kind":"official","path":"run_token_classifier.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/run_token_classifier.py","link_basis":"first_harvest_node","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":"a2def652050ab186"}},{"code_sha256_prefix":"23f0de93a3d0ff93","entry":"feats_from_tag","repo":"aghie/disco2labels","repo_kind":"official","path":"encode.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/encode.py","link_basis":"first_harvest_node","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":"23f0de93a3d0ff93"}},{"code_sha256_prefix":"53d9f1456106deb1","entry":"flat_list","repo":"aghie/disco2labels","repo_kind":"official","path":"utils.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"53d9f1456106deb1"}},{"code_sha256_prefix":"bfe895901e49dc6b","entry":"prepare_sents_and_labels","repo":"aghie/disco2labels","repo_kind":"official","path":"decode.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/decode.py","link_basis":"first_harvest_node","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":"bfe895901e49dc6b"}},{"code_sha256_prefix":"de3505ddfb148107","entry":"rebuild_input_sentence","repo":"aghie/disco2labels","repo_kind":"official","path":"utils.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"de3505ddfb148107"}},{"code_sha256_prefix":"89ba85eeed24dcbf","entry":"split_label","repo":"aghie/disco2labels","repo_kind":"official","path":"utils.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/utils.py","link_basis":"first_harvest_node","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":"89ba85eeed24dcbf"}},{"code_sha256_prefix":"53def4ceb32d3252","entry":"transform_split","repo":"aghie/disco2labels","repo_kind":"official","path":"encode.py","file_url":"https://github.com/aghie/disco2labels/blob/HEAD/encode.py","link_basis":"first_harvest_node","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":"53def4ceb32d3252"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}