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

Suggest nearby (& popular?) package when name not found #2911

Closed
IanButterworth opened this issue Jan 2, 2022 · 0 comments · Fixed by #2985
Closed

Suggest nearby (& popular?) package when name not found #2911

IanButterworth opened this issue Jan 2, 2022 · 0 comments · Fixed by #2985

Comments

@IanButterworth
Copy link
Member

IanButterworth commented Jan 2, 2022

Turning #2493 into an issue given it was decided to be the wrong approach

Suggesting similar package names based on what is available in the registry would probably work better.

Edit distance with a low cost for case changes would be a good way to do this. Now that we have usage stats we can combine with a "language model" that uses package popularity to decide what's most likely.

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

Successfully merging a pull request may close this issue.

1 participant