Commit Graph

243 Commits (parametric)

Author SHA1 Message Date
matthieugomez 8533de4782 Merge branch 'parametric' of https://github.com/matthieugomez/StringDistances.jl into parametric 2021-09-06 10:24:23 -04:00
matthieugomez 3751aa2be5 indent 2021-09-06 10:24:16 -04:00
Matthieu Gomez d59e549dbe
Merge branch 'main' into parametric 2021-09-06 10:17:02 -04:00
matthieugomez 2a8c0b97ef rename variables 2021-09-06 10:13:36 -04:00
matthieugomez 12a4eabb5f simplify code by removing counters 2021-09-06 10:09:58 -04:00
Matthieu Gomez 2aff23fd6c
Use Int everywhere (#52) 2021-08-08 07:36:43 +02:00
matthieugomez 71e4f9430f use Int everywhere 2021-08-08 07:33:04 +02:00
Matthieu Gomez 7524e06d76
remove parametric type (#51) 2021-08-08 07:16:04 +02:00
matthieugomez b392aa2800 remove parametric type 2021-08-08 07:15:24 +02:00
Matthieu Gomez e9b224f03f
simplify a bit preprocessed qgrams (#50) 2021-08-08 06:58:42 +02:00
Matthieu Gomez 0c3b250969
Update normalize.jl 2021-07-04 10:52:42 -07:00
matthieugomez f26cd16983 import from StatsAPI 2021-04-21 08:57:50 -07:00
matthieugomez f270e18310 simplify pairwise 2020-12-30 14:39:18 +01:00
matthieugomez 15175976a2 Update modifiers.jl 2020-12-30 14:24:24 +01:00
matthieugomez f9675fd110 update 2020-11-14 11:40:44 -08:00
matthieugomez 1cc89f0827 add more docs 2020-11-12 09:24:34 -08:00
matthieugomez 730a513d8e redefine modifiers 2020-11-11 21:13:14 -08:00
matthieugomez bd9c7fba24 use pre-preprocessing in find* functions 2020-11-10 14:20:32 -08:00
matthieugomez 4e2ab1b062 NormalizedMultisetDistance -> NMD 2020-11-10 13:52:31 -08:00
Robert Feldt ed6c2f650f
Add NMD and fix bug in MorisitaOverlap (#40) 2020-11-10 10:55:05 -08:00
matthieugomez f4185fbfe0 add test 2020-11-10 07:29:48 -08:00
matthieugomez d20650bb9e add readme about Hamming and pairwise 2020-11-10 07:14:13 -08:00
Robert Feldt 0c57f62319
Adds MorisitaOverlap distance (#39) 2020-11-10 07:12:28 -08:00
matthieugomez e4095682b4 add Hamming + restrict pairwise to vectors + handle missings 2020-11-09 19:04:35 -08:00
matthieugomez b407b186f0 Update pairwise.jl 2020-11-08 17:33:17 -08:00
matthieugomez 8c2811b564 Update pairwise.jl 2020-11-08 17:26:04 -08:00
matthieugomez 55abbc7702 Update pairwise.jl 2020-11-08 17:24:17 -08:00
matthieugomez e1aafafe11 Update pairwise.jl 2020-11-08 17:13:18 -08:00
matthieugomez 3040be7ced export pairwise! 2020-11-08 17:05:14 -08:00
Robert Feldt a0e5347d8c
pairwise for calculating distance matrices (#38) 2020-11-08 16:16:28 -08:00
matthieugomez c7728160bf correct 2020-11-07 12:48:53 -08:00
matthieugomez a53c7a9d2f add max_dist as part field for Levenshtein 2020-11-07 11:46:47 -08:00
Robert Feldt 9d28c36ed5 added doc strings and upped the dependency and CI to Julia 1.3 2020-10-24 21:01:39 +02:00
Robert Feldt cacbbc5487 name change to QGramSortedVector, code and tests for handling unicode strings 2020-10-24 14:32:19 +02:00
Robert Feldt c0bedf89a6 faster calculation of QGramDistances if precounting qgrams either as Dict or sorted array, with tests 2020-10-23 23:33:08 +02:00
matthieugomez ac783773ba findmax -> findnearest 2020-10-03 09:42:09 -07:00
matthieugomez b2399a0ef7 up 2020-09-28 14:57:42 -07:00
matthieugomez e6898f5274 findclosest 2020-09-28 14:55:18 -07:00
matthieugomez 46ae721329 findmax -> findbest 2020-09-28 14:47:23 -07:00
matthieugomez 42ddeb32ba Update qgram.jl 2020-07-23 12:49:00 -07:00
matthieugomez b0bd5eb47e Update normalize.jl 2020-07-20 08:46:42 -07:00
matthieugomez f802f5fe1a Delete modifiers.jl 2020-07-20 08:39:50 -07:00
matthieugomez 006cb31f81 Update normalize.jl 2020-07-20 08:32:01 -07:00
matthieugomez 04b1902f9e add back normalize for Partial/TokenSort/TokenSet 2020-07-20 08:25:53 -07:00
matthieugomez e0ef0e8ec1 correct normalize Partial/TokenSort/TokenSet 2020-07-20 07:08:27 -07:00
matthieugomez b5a2a10adc Update normalize.jl 2020-07-19 12:38:54 -07:00
matthieugomez fb0a786fd9 return 1 if distance over maxdist 2020-07-19 12:37:49 -07:00
matthieugomez 100a0b65a9 Update normalize.jl 2020-07-13 11:40:51 -07:00
matthieugomez 8c2226bf4b do not normalize Partial/TokenSet/TokenSort by default 2020-07-13 11:39:21 -07:00
matthieugomez 09da838753 Update edit.jl 2020-07-13 10:44:45 -07:00