Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何将含有拆字的文本转换为正常字文本? #2

Open
ghm opened this issue Nov 8, 2019 · 2 comments
Open

请问如何将含有拆字的文本转换为正常字文本? #2

ghm opened this issue Nov 8, 2019 · 2 comments

Comments

@ghm
Copy link

ghm commented Nov 8, 2019

您能帮忙想下怎么做更好一些吗?

@diosguo
Copy link

diosguo commented Apr 23, 2020

@ghm 可以利用所有汉字的拆字结果构建一个字典树,然后就可以根据你输入的拆字文本检索正常汉字了,但是由于不知道拆开的字的排布结构,所以可能一个拆字文本会匹配到多个正常字,这个你得再想办法过滤了。

@howl-anderson
Copy link
Owner

@ghm 你想这样做的意图是为了什么?

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

No branches or pull requests

3 participants