Skip to content

HanLP对于用户自定义词典的官方推荐方法是怎样的? #182

@fengxiaochuang

Description

@fengxiaochuang

你好,我在测试的时候,发现通过CustomDictionary.add()方法添加的新词不会自动持久化,没有动态修改二进制缓存文件.
HanLP官方推荐的方法是记录添加成功的自定义词语,然后在下次项目启动之前追加到自定义词典文件吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions