Hanlp2.0 词性训练

何老师,
您好,再次打扰。听了您的建议,我从hanlp1.x转向了hanlp2.x。想用使用区域地址做一个简单的词性训练。具体代码如下,还望看看有没有使用错误的问题。

语料库

训练代码

使用demo

Hi, the 2.x tagging corpus format is no longer the same with 1.x. Please refer to the docs: datasets — HanLP Documentation .

thank you!!