Danny Guo
1063ca9236
Add EditorConfig
2016-06-05 03:47:56 -04:00
Danny Guo
9f4ba4cbc0
Bump patch version
2016-04-18 08:54:10 -04:00
moritz9422
14cf91e0ef
Fix comparing strings with multibyte chars ( #3 )
...
Using `x.len()` on a str returns the number of bytes, which is not
always the same as the number of characters. For example, the characters
'ö' or '香' are representing using more than one byte. This leads
to strange behaviour (e.g. `levenshtein("a", "ä")` would return 0).
Replace calls to `str.len()` with `str.chars().count()`, which returns
the correct number of characters in a string.
2016-04-18 08:46:11 -04:00
Danny Guo
31a4362838
Add an AppVeyor badge
2016-02-20 12:45:58 -05:00
Danny Guo
a5a70d95a6
Add configuration for AppVeyor
2016-02-20 12:31:03 -05:00
Danny Guo
70b578ad64
Add Vagrant for development
2016-01-29 23:46:17 -05:00
Danny Guo
0574a8d2fb
Remove reference to Rust nightly/1.0
2015-10-04 15:45:05 -04:00
Danny Guo
bd5769bb5c
Test against the full Rust suite
2015-10-01 00:01:05 -04:00
Danny Guo
f9a0029015
Remove unnecessary returns
2015-09-30 21:45:37 -04:00
Danny Guo
ddf0843406
Update Travis to test Rust 1.0.0
2015-06-10 00:38:49 -04:00
Danny Guo
8393ef449d
Add crates.io badge
2015-06-10 00:30:11 -04:00
Danny Guo
29176fa232
Add more tests for vector functions
2015-06-10 00:26:44 -04:00
Danny Guo
319116cd1e
Merge pull request #2 from ovarene/master
...
Add distances calculus against vector of strings
2015-06-09 21:52:06 -04:00
Olivier Varène
a0226ea984
Add distances calculus against vector of strings
...
Add levenshtein_against_vec, damerau_levenshtein_against_vec,
jaro_against_vec, jaro_winkler_against_vec
to calculate the distances agains a vector of strings
2015-06-09 16:54:20 +02:00
Danny Guo
0125b88c41
Remove commented out code
2015-04-30 00:49:43 -04:00
Danny Guo
1f755adf8d
Remove usage of unstable features
2015-04-30 00:45:29 -04:00
Danny Guo
5beb968a7d
Remove unnecessary imports from doctests
2015-04-24 00:49:39 -04:00
Danny Guo
8d98af109b
Remove unused core feature
2015-04-15 01:04:56 -04:00
Danny Guo
e151b0f191
Remove import of float (no longer necessary)
2015-04-01 22:51:05 -04:00
Danny Guo
25b56b67db
Remove char_at calls (unstable library feature)
2015-03-29 00:17:25 -04:00
Danny Guo
f55720ab4d
Bump patch version
2015-02-20 20:36:25 -05:00
Danny Guo
799e7cfec0
Update bit vector import
2015-02-20 20:34:39 -05:00
Danny Guo
c7eb862bae
Add Damerau-Levenshtein implementation
2015-02-19 00:15:07 -05:00
Danny Guo
ee4c07a110
Add doc-tests
2015-02-14 22:47:31 -05:00
Danny Guo
fc0c17bf23
Add some rustdoc comments
2015-02-10 21:34:05 -05:00
Danny Guo
089f3cc083
Limit Jaro-Winkler to max of 1.0, and fix float comparisons in tests
2015-02-10 19:07:11 -05:00
Danny Guo
1a57f1a4a3
Add Travis badge
2015-02-09 22:24:04 -05:00
Danny Guo
b722e03d42
Add Travis configuration
2015-02-09 22:18:13 -05:00
Danny Guo
762dd05c53
Remove keyword to stay within max of 5
2015-02-09 21:13:26 -05:00
Danny Guo
eef5867a05
Add initial commit
2015-02-09 21:02:54 -05:00
Danny Guo
fabad43d19
Initial commit
2015-02-09 20:04:10 -05:00