{"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/chinese-ner-using-lattice-lstm","title":"Chinese NER Using Lattice LSTM","arxiv_id":"1805.02023","date":"2018-05-05","proceeding":"ACL 2018 7","authors":["Yue Zhang","Jie Yang"],"abstract":"We investigate a lattice-structured LSTM model for Chinese NER, which encodes\na sequence of input characters as well as all potential words that match a\nlexicon. Compared with character-based methods, our model explicitly leverages\nword and word sequence information. Compared with word-based methods, lattice\nLSTM does not suffer from segmentation errors. Gated recurrent cells allow our\nmodel to choose the most relevant characters and words from a sentence for\nbetter NER results. Experiments on various datasets show that lattice LSTM\noutperforms both word-based and character-based LSTM baselines, achieving the\nbest results.","url_abs":"http://arxiv.org/abs/1805.02023v4","url_pdf":"http://arxiv.org/pdf/1805.02023v4.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":"chinese-ner-using-lattice-lstm","repo_url":"https://github.com/jiesutd/LatticeLSTM","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"chinese-ner-using-lattice-lstm","repo_url":"https://github.com/Houlong66/lattice_lstm_with_pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"chinese-ner-using-lattice-lstm","repo_url":"https://github.com/LeeSureman/Batch_Parallel_LatticeLSTM","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"chinese-named-entity-recognition","task_name":"Chinese Named Entity Recognition"},{"task_slug":"cg","task_name":"NER"},{"task_slug":"sentence","task_name":"Sentence"}],"methods":[{"method_slug":"lstm","method_name":"LSTM"},{"method_slug":"sigmoid-activation","method_name":"Sigmoid Activation"},{"method_slug":"tanh-activation","method_name":"Tanh Activation"}],"datasets_introduced":[{"slug":"resume-ner","name":"Resume NER","full_name":"Resume NER"}],"methods_introduced":[],"results":[{"leaderboard":"/sota/chinese-named-entity-recognition-on-msra","task":"Chinese Named Entity Recognition","dataset":"MSRA","model":"Lattice","rank_in_archive_order":19,"of":21,"metrics":{"F1":"93.18"},"uses_additional_data":false},{"leaderboard":"/sota/chinese-named-entity-recognition-on-ontonotes","task":"Chinese Named Entity Recognition","dataset":"OntoNotes 4","model":"Lattice","rank_in_archive_order":14,"of":15,"metrics":{"F1":"73.88"},"uses_additional_data":false},{"leaderboard":"/sota/chinese-named-entity-recognition-on-resume","task":"Chinese Named Entity Recognition","dataset":"Resume NER","model":"Lattice","rank_in_archive_order":13,"of":13,"metrics":{"F1":"94.46"},"uses_additional_data":false},{"leaderboard":"/sota/chinese-named-entity-recognition-on-weibo-ner","task":"Chinese Named Entity Recognition","dataset":"Weibo NER","model":"Lattice","rank_in_archive_order":15,"of":18,"metrics":{"F1":"58.79"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1805.02023","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1805.02023"}},"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/jiesutd/LatticeLSTM","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Houlong66/lattice_lstm_with_pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/LeeSureman/Batch_Parallel_LatticeLSTM","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"ran_honours":1},"by_repo_kind":{"listed":{"samples":2,"ran":2,"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":2,"samples":[{"code_sha256_prefix":"e8ea498e418f4da0","entry":"convert_forward_gaz_to_backward","repo":"Houlong66/lattice_lstm_with_pytorch","repo_kind":"listed","path":"model/latticelstm.py","file_url":"https://github.com/Houlong66/lattice_lstm_with_pytorch/blob/HEAD/model/latticelstm.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8ea498e418f4da0"}},{"code_sha256_prefix":"c81d7dff6b00507e","entry":"init_list_of_objects","repo":"Houlong66/lattice_lstm_with_pytorch","repo_kind":"listed","path":"model/latticelstm.py","file_url":"https://github.com/Houlong66/lattice_lstm_with_pytorch/blob/HEAD/model/latticelstm.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c81d7dff6b00507e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}