kawhi-95 / NER

使用了多种不同的模型(包括HMM,CRF,Bi-LSTM,Bi-LSTM+CRF)来解决中文命名实体识别问题,数据集用的是论文ACL 2018Chinese NER using Lattice LSTM中收集的简历数据
2 stars 0 forks source link

File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-11: ordinal not in range(128) #2

Open jiayuanyuan67777 opened 1 year ago

jiayuanyuan67777 commented 1 year ago

报这个问题怎么解决啊

kawhi-95 commented 1 year ago

会否是编码格式的差别,建议参考解决UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range - 小学弟- - 博客园 (cnblogs.com),也许会有用

------------------ 原始邮件 ------------------ 发件人: "kawhi-95/NER" @.>; 发送时间: 2023年6月25日(星期天) 晚上8:11 @.>; @.***>; 主题: [kawhi-95/NER] File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-11: ordinal not in range(128) (Issue #2)

报这个问题怎么解决啊

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jiayuanyuan67777 commented 1 year ago

感谢您为我解答这个问题,谢谢

在 2023-06-25 20:53:45,"kawhi-95" @.***> 写道:

会否是编码格式的差别,建议参考解决UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range - 小学弟- - 博客园 (cnblogs.com),也许会有用

------------------ 原始邮件 ------------------ 发件人: "kawhi-95/NER" @.>; 发送时间: 2023年6月25日(星期天) 晚上8:11 @.>; @.***>; 主题: [kawhi-95/NER] File "stringsource", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-11: ordinal not in range(128) (Issue #2)

报这个问题怎么解决啊

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>