You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
dusmart
changed the title
python端不应该提供分词的粒度控制,应该删除POS_MAP
python端应该根据POS_MAP调用C++接口中的NLPIR_SetPOSmap函数
Nov 17, 2017
dusmart
changed the title
python端应该根据POS_MAP调用C++接口中的NLPIR_SetPOSmap函数
We need to call function SetPOSmap in __init__.py. This fix Issue 20 in the right way.
Nov 17, 2017
dusmart
changed the title
We need to call function SetPOSmap in __init__.py. This fix Issue 20 in the right way.
We need to call function SetPOSmap in __init__.py. And add more license file. This fix Issue 20 in the right way.
Nov 17, 2017
dusmart
changed the title
We need to call function SetPOSmap in __init__.py. And add more license file. This fix Issue 20 in the right way.
We need to update file pynlpir/Data/FieldDict.pdat. This fix Issue 20 in the right way.
Nov 17, 2017
dusmart
changed the title
We need to update file pynlpir/Data/FieldDict.pdat. This fix Issue 20 in the right way.
pip安装的pynlpir和develop分支使用了新版的NLPIR的包,但是没有提供新的POS__MAP。
Nov 17, 2017
dusmart
changed the title
pip安装的pynlpir和develop分支使用了新版的NLPIR的包,但是没有提供新的POS__MAP。
pynlpir/Data/FieldDict.pdat 有问题,和我们pynlpir的词性标注信息不对应
Nov 17, 2017
pynlpir中的NLPIR包中的 Data/FieldDict.pdat 文件导致了这个问题,建议替换 Data/FieldDict.pdat 为其他版本的 Data/FieldDict.pdat。该文件下载地址:http://ictclas.nlpir.org/upload/20170314140452_ICTCLAS2016%E5%88%86%E8%AF%8D%E7%B3%BB%E7%BB%9F%E4%B8%8B%E8%BD%BD%E5%8C%85.zip
替换该文件是Issue 20和Issue 82和Issue 98的临时解决办法。长期办法应该是更新POS_MAP,不过费时费力,而且新版的词性标注信息可能过于详细。
由pip安装的pynlpir受到这个bug影响,由于该bug导致pynlpir难以使用,建议尽快更新pip中的pynlpir,替换文件 Data/FieldDict.pdat 以解决该问题。
测试代码:
使用pip安装的pynlpir执行以上代码的结果是
替换文件Data/FieldDict.pdat后执行以上代码的结果是
The text was updated successfully, but these errors were encountered: