Skip to content

Commit 1aedc4a

Browse files
authored
Update README.md
fix consine to cosine
1 parent 8892d41 commit 1aedc4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ const Thanos = 'healed'
4848
const Rival = 'sealed'
4949
const Avengers = ['edward', 'sealed', 'theatre']
5050

51-
use by Consine
52-
let cos = stringComparison.consine
51+
// use by cosine
52+
let cos = stringComparison.cosine
5353

5454
console.log(cos.similarity(Thanos, Rival))
5555
console.log(cos.distance(Thanos, Rival))

0 commit comments

Comments
 (0)