Hanlp2.0如何使用自定义词典

base python3.6, 使用Hanlp库进行分词,2.0版本,没有找到添加相关自定义词典的相关文档,请问有人知道吗,pyhanlp的添加倒是知道了但是不是很想使用1.x版本

https://github.com/hankcs/HanLP/blob/master/plugins/hanlp_demo/hanlp_demo/zh/demo_custom_dict.py

请问有没有可以将整个文本加载为词典的方式?类似1.x版本那样。

3赞