Skip to content

语义依存分析中mQuaf没有定义 #1965

Description

@aetstapa

Describe the bug
对“半丝半缕”进行语义依存分析,结果中有个mQuaf的语义关系在CSDP中找不到

Code to reproduce the issue

import hanlp
HanLP = hanlp.load(hanlp.pretrained.mtl.CLOSE_TOK_POS_NER_SRL_DEP_SDP_CON_ELECTRA_SMALL_ZH)
a = HanLP(['半丝半缕'])
print(a)
{
  "tok/fine": [
    ["", "", "", ""]
  ],
  "tok/coarse": [
    ["", "", "", ""]
  ],
  "pos/ctb": [
    ["CD", "M", "CD", "M"]
  ],
  "pos/pku": [
    ["m", "q", "m", "Ng"]
  ],
  "pos/863": [
    ["m", "n", "m", "n"]
  ],
  "ner/msra": [
    []
  ],
  "ner/pku": [
    []
  ],
  "ner/ontonotes": [
    []
  ],
  "srl": [
    []
  ],
  "dep": [
    [[2, "nummod"], [4, "clf"], [4, "nummod"], [0, "root"]]
  ],
  "sdp": [
    [[[2, "Quan"]], [[3, "mQuaf"]], [[4, "Quan"]], [[0, "Root"], [2, "eCoo"]]]
  ],
  "con": [
    ["TOP", [["QP", [["QP", [["CD", [""]], ["CLP", [["M", [""]]]]]], ["QP", [["QP", [["CD", [""]]]], ["CLP", [["M", [""]]]]]]]]]]
  ]
}

System information

  • MacOS 12.7.6
  • Python version: 3.10.19
  • HanLP version: 2.1.3
  • I've completed this form and searched the web for solutions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions