Skip to content

words没有清空,分词结果是重复的 #20

Open

Description

@ZhangWeiHelloWorld

1、image
如果 读取到空行的话,words.不清空,输出时候会输出重复行
2、配置信息加载 建议设计成单例模式,工具调用会重复加载,如果用户字典太大会很慢的。

Activity

  1. ZhangWeiHelloWorld commented on Dec 27, 2019

    @ZhangWeiHelloWorld
    Author

    加上words.clear() 就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions