-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.js
33 lines (32 loc) · 1017 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Import similarity comparison functions from their respective modules
import Cosine from './lib/Cosine';
import Jaro from './lib/Jaro';
import Jaccard from './lib/Jaccard';
import DamerauLevenshtein from './lib/damerauLevenshtein';
import HammingDistance from './lib/hammingDistance';
import JaroWrinker from './lib/jaroWinkler';
import Levenshtein from './lib/Levenshtein';
import SmithWaterman from './lib/smithWaterman';
import SorensenDice from './lib/sorensenDice';
import Trigram from './lib/Trigram';
import SzymkiewiczSimpsonOverlap from './lib/szymkiewiczSimpsonOverlap';
import Ngram from './lib/nGram';
import Qgram from './lib/qGram';
import OptimalStringAlignment from './lib/optimalStringAlignment';
// Export all the imported similarity functions for use in other modules
export {
Cosine,
Jaccard,
Jaro,
DamerauLevenshtein,
HammingDistance,
JaroWrinker,
Levenshtein,
SmithWaterman,
SorensenDice,
Trigram,
SzymkiewiczSimpsonOverlap,
Ngram,
Qgram,
OptimalStringAlignment
};