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

[NEW EXAMPLE] Ruby - Did you mean? #48

Closed
ainzzorl opened this issue Aug 13, 2021 · 0 comments
Closed

[NEW EXAMPLE] Ruby - Did you mean? #48

ainzzorl opened this issue Aug 13, 2021 · 0 comments
Labels
new example New example proposal

Comments

@ainzzorl
Copy link
Owner

General

Description

did_you_mean is a typo-detecting gem that ships with Ruby since Ruby 2.3.

We can just focus on the spell-checker. It's based on Levinstein distances.

Links

Add links to the code. Include tests.

https://github.com/ruby/ruby/blob/master/lib/did_you_mean

What makes it interesting

  • Part of Ruby standard library.
  • Classical algorithm.
  • Very reusable.

Related work

No

Other

N/A

@ainzzorl ainzzorl added the new example New example proposal label Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new example New example proposal
Projects
None yet
Development

No branches or pull requests

1 participant