You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) algorithm to compare strings ✨
58
60
59
61
- Computed similarity percentage functions based on all available edit distance algorithms in this lib ✨
60
62
- Fuzzy search functions based on edit distance with unique or multiples strings output ✨
61
63
- Unicode compatibility ! 🥳
62
-
- Many more to come !
64
+
- And many more to come !
65
+
66
+
## Benchmarks
67
+
You can check an interactive Google chart with few benchmark cases for all similarity algorithms in this library through **StringSimilarity** function [here](http://benchgraph.codingberg.com/q5)
68
+
69
+
However, if you want or need more details, you can also viewing benchmark raw output [here](https://github.com/hbollon/go-edlib/blob/master/tests/outputs/benchmarks.txt), which also includes memory allocations and test cases output (similarity result and errors).
70
+
71
+
If you are on Linux and want to run them on your setup, you can run ``` ./tests/benchmark.sh ``` script.
63
72
64
73
## Installation
65
-
Open bash into you project folder and run :
74
+
Open bash into your project folder and run :
66
75
67
76
```bash
68
77
go get github.com/hbollon/go-edlib
@@ -71,9 +80,12 @@ go get github.com/hbollon/go-edlib
71
80
And import it into your project.
72
81
73
82
### Run tests
74
-
If you want to run all units tests just run :
83
+
If you are on Linux and want to run all unit tests just run ``` ./tests/tests.sh ``` script.
84
+
85
+
For Windows users you can run :
86
+
75
87
```bash
76
-
go test ./... -coverpkg=./... # Add desired parameters to this command if you want
88
+
go test ./... # Add desired parameters to this command if you want
0 commit comments