您好,多语言模型是不支持自定义词性吗? 还是我打开方式不对?
import hanlp
hanlp_mul = hanlp.load(hanlp.pretrained.mtl.UD_ONTONOTES_TOK_POS_LEM_FEA_NER_SRL_DEP_SDP_CON_XLMR_BASE)
hanlp_en[“ud”].dict_tags ={“您好”: “my词性”}
您好,多语言模型是不支持自定义词性吗? 还是我打开方式不对?
import hanlp
hanlp_mul = hanlp.load(hanlp.pretrained.mtl.UD_ONTONOTES_TOK_POS_LEM_FEA_NER_SRL_DEP_SDP_CON_XLMR_BASE)
hanlp_en[“ud”].dict_tags ={“您好”: “my词性”}