Comments (2)
I think it's because levenshtein-ffi doesn't support unicode strings
https://github.com/dbalatero/levenshtein-ffi#known-issues
Known Issues
- The C extension uses char* strings, and so Unicode strings will give incorrect distances.
from did_you_mean.
the jaro_winkler
gem is not a dependency and the did_you_mean
gem works fine without it. I only use it to speed up the evaluation script. Adding C extensions makes it harder for other Ruby implementations to work with this gem since some of them are not even written in C.
from did_you_mean.
Related Issues (20)
- Add more documentation HOT 1
- Backport bug fixes to 1-2-stable, 1-1-stable, and 1-0-stable HOT 1
- Add JRuby to build matrix HOT 1
- How to run speed benchmarks? HOT 2
- No DidYouMean constants in Travis CI HOT 14
- Structured dictionary option for DidYouMean HOT 7
- Could it work on subsequent errors? HOT 2
- wrong suggestion when string requested on hash and keys are symbols HOT 1
- tmp/.keep packaged in gem HOT 7
- Suggestion not provided if the word to check ends up with a number HOT 2
- undefined method issue HOT 1
- Infinite loop HOT 7
- ruby-head fails on test/test_verbose_formatter.rb:17 HOT 2
- TreeSpellChecker: cases where it doesn't work as expected? HOT 1
- Redundant names HOT 3
- Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call DidYouMean.correct_error(error_name, spell_checker)' instead. HOT 2
- Issues with the did_you_mean deprecation warning HOT 7
- Gem is not commercial compliant HOT 11
- rerun the previous command with corrected spelling in irb. HOT 1
- Why this threshold for JaroWinkler distance ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from did_you_mean.