我使用Rwordseg包的installDict()安装搜狗词典的时候路径报错,但是我确定词典的路径是没问题的。
我想尝试用importSogouScel(),没有报错提示,但是listDict()是空的,使用segmentCN时也并没有使用该词典。
installDict("/Users/zijingzhao/Documents/SRM/cornovarius/dic/政府机关团体机构大全【官方推荐】.scel")
报错信息:
Dictionary: 政府机关团体机构大全【官方推荐】
Type: 单位机构名
Description: 政府机关团体机构名称大全
Example: 纪律检查委员会 人民政府办公厅 中华全国总工会 长江水利委员会 黄河水利委员会
Size: 30078
cannot open compressed file '/Rwordseg/dicmeta', probable reason 'No such file or directory'Error in gzfile(file, "rb") : cannot open the connection
求大佬解答!