linux下如何修改/root/.hanlp数据路径

大家好,linux下如何修改/root/.hanlp数据路径,不放在root下,可以正常识别到模型。

您好,请问您问题解决了吗?我也碰到了一样的问题