Skip to content

Comments

fix:提供新的方法处理自定义用户词典分词带空格的情况(#137)#139

Open
littlesparklet wants to merge 1 commit intohuaban:masterfrom
littlesparklet:master
Open

fix:提供新的方法处理自定义用户词典分词带空格的情况(#137)#139
littlesparklet wants to merge 1 commit intohuaban:masterfrom
littlesparklet:master

Conversation

@littlesparklet
Copy link

此提交重载了init方法,用户自定义词典时可以使用逗号分隔词和词频,使用 WordDictionary.getInstance().init(Paths.get("conf"), ",")读取自定义词典;提供新的processExtend方法,来进行分词,传参与process一致。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant