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

请问中文调用fuzzy.ExtractOne匹配score都为0.有什么参数设置么? #8

Open
Meicsu199345 opened this issue Jul 1, 2021 · 0 comments

Comments

@Meicsu199345
Copy link

choices := []string{"芯姐好工作(聘)", "芯姐好工作", "还能不能工作好了"}
ans,_ :=fuzzy.ExtractOne("芯姐好工作", choices)
fmt.Println("ans",ans)

{芯姐好工作(聘) 0}
{芯姐好工作 0}
{还能不能工作好了 0}
matches [0xc00011c040 0xc00011c060 0xc00011c080]
ans &{芯姐好工作(聘) 0}

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

1 participant