Debian Codegraph @

NEWS

raw
1 version 0.9.17
2 - Fixed broken links in documentation
3 - Removed example causing spurious ASAN error on some systems.
4
5 version 0.9.15
6 - Fixe issue with zero-length 'nthreads' argument in all exported functions
7 with this parameter. (Thanks to Brian Ripley for the notification and pointer
8 to the problem)
9
10 version 0.9.14
11 - Fixed issue with zero-length strings in 'qgrams' (Thanks to Brian Ripley
12 for the notification and pointer to the origin of the problem)
13
14 version 0.9.12
15 - apparently R_xlen_t is long long int on CLANG/Windows and long int on gcc-13/debian
16
17 version 0.9.11
18 - Fixed a warning in gcc-13: changed specifier from %d to %ld.
19 (Thanks to Kurt Hornik for the head's up)
20
21 version 0.9.10
22 - Fixed another warning generated by new C compiler that I overlooked.
23 (Thanks to the CRAN team for the head's up)
24
25 version 0.9.9
26 - Fixed warnings generated by new C compiler. (function prototypes must
27 now be defined completely). (Thanks to Kurt Hornik for the head's up.)
28
29 version 0.9.8
30 - Fixed some issues on C-level causing problems with the
31 CLANG compiler. (Thanks to Brian Ripley for not only
32 reporting this, but also sending updated code with
33 fixes).
34
35
36 version 0.9.7
37 - Fixes in use of INTEGER() and VECTOR_ELT() after updates in R's C API.
38 this affected 'afind' and 'max_length' (internally). (Thanks to Luke
39 Tierny and Kurt Hornik for the notification).
40 - Fix in 'amatch' causing utf-8 characters to be ignored in some
41 cases (thanks to Joan Mime for reporting #78).
42 - Fix: segfault when 'afind' was called with many search patterns or many
43 texts to be searched.
44 - Fix: stringsimmatrix was not normalized correctly (Thanks to Tamas Ferenci
45 for reporting GH).
46
47
48 version 0.9.6.3
49 - Resubmit. Fixed an URL redirect that was detected by CRAN.
50
51 version 0.9.6.2
52 - Resubmit. Fixed url issues detected by CRAN, added doi to description
53 as per CRAN request.
54
55 version 0.9.6.1
56 - Bugfix: afind/grab/grabl returned wrong results on MacOS only.
57 (thanks to Prof. Brian Ripley for the notification and for running tests
58 on his personal machine and to Tomas Kalibera for making the
59 ubuntu-rchk docker image available).
60
61 version 0.9.6
62 - New function 'afind': find approximate matches in text based on string distance.
63 - New functions 'grab', 'grabl': fuzzy matching equivalent to 'grep' and 'grepl'.
64 - New function 'extract': fuzzy matching equivalent of stringr::str_extract.
65 - New algorithm 'running_cosine': fast fuzzy text search using cosine distance.
66 - New function 'stringsimmatrix' (Thanks to Johannes Gruber).
67 - Number of threads used is now reported when loading 'stringdist'.
68 - Internal fixes (in some cases class() == 'class' was used).
69
70 version 0.9.5.5
71 - Changed two URLs to canonical form in README.md (https://) to comply with
72 CRAN policy.
73
74 version 0.9.5.4
75 - Some tests using seq_dist() would fail unpredictably when the input was
76 defined with lazily evaluated arguments, e.g. list(1:3, 2:4); but only in the
77 context of NSE by a test suite ('tinytest', 'testthat'). Tests were replaced by
78 literal versions, e.g. list(c(1,2,3), c(2,3,4)).
79
80 version 0.9.5.3
81 - Update in test suite to stay on CRAN
82
83 version 0.9.5.2
84 - RJournal paper and C/C++ api docs are now presented as vignette.
85 - Switched to tinytest framework
86 - Fix: stringdist could cause a segfault for edit distances between very long
87 strings. (Thanks to GH user gllipatz)
88
89
90 version 0.9.5.1
91 - Fixed header file for C API
92
93 version 0.9.5.0
94 - New contributor: Chris Muir
95 - C/C++ API now exposed for packages LinkingTo stringdist. See `?stringdist_api`
96 - Arguments 'maxDist', 'ncores', 'cluster' of functions 'stringdist' and
97 'stringdistmatrix' have been deprecated for several years and are now
98 removed.
99 - Fixed edge case where cosine distance with q=1, between strings of repeating characters
100 yielded Inf (Thanks to Markus Dumke)
101
102
103 version 0.9.4.6
104 - Fixed argument passing error in lower_tri (thanks to Kurt Hornik)
105
106 version 0.9.4.5
107 - New argument 'bt' implementing Winkler's boost threshold for the Jaro-Winkler distance
108 - stringdist(a,b,method="qgram") returns correct value when q>nchar(a) (or b).
109 (Thanks to Giora Simchoni). Also affects stringdistmatrix, amatch, seq_dist,
110 and seq_distmatrix.
111 - registered native routines as now recommended by CRAN
112
113 version 0.9.4.4
114 - updated default nr of threads to comply to CRAN policy (thanks to Kurt Hornik).
115 The default nr of cores now equals OMP_NUM_THREADS if set. See
116 ?'stringdist-parallelization' for the full policy.
117
118 version 0.9.4.2
119 - bugfix in stringdistmatrix(a): value of p, for jw-distance was ignored
120 (thanks to Max Fritsche)
121 - bugfix in stringdistmatrix(a): Would segfault on q-gram w/input > ~7k strings
122 and q>1 (thanks to Connor McKay)
123 - bugfix in jaccard distance: distance not always correct when passing multiple
124 strings (thanks to Robert Carlson)
125
126 version 0.9.4.1
127 - stringdistmatrix(a) now outputs long vectors (issue #45, thanks to Wouter
128 Touw). For stringdistmatrix(a,b) this was already the case, but the length
129 of rows and columns remains restricted to 2^31-1 since long input vectors are
130 not supported (yet).
131 - bugfix in osa/dl/lv distances w/unequal edit weights (thanks to Nathalia Potocka)
132
133 version 0.9.4
134 - bugfix: edge case for zero-size for lower tridiagonal dist matrices (caused
135 UBSAN to fire, but gave correct results).
136 - bugfix in jw distance: not symmetric for certain cases (thanks to github user gtumuluri)
137
138 version 0.9.3
139 - new function for tokenizing integer sequences: seq_qgrams
140 - new function for matching integer sequences: seq_amatch
141 - new functions computing distances between integer sequences: seq_dist, seq_distmatrix
142 - q-gram based distances are now always 0 when q=0 (used to be Inf if at least
143 one of the arguments was not the empty string)
144 - stringdist, stringdistmatrix now emit warning when presented with 'list' argument
145 - small c-side code optimizations
146 - bugfix in dl, lv, osa distance: weights were not taken into account properly
147 (thanks to Zach Price)
148
149 version 0.9.2
150 - Update fixing some errors (missing documentation, tests) in the 0.9.1 release.
151 - Fixed a few possible memory leaks.
152
153 version 0.9.1
154 - Argument 'useNames' of 'stringdistmatrix' now accepts 'none', 'strings', and 'names'
155 - New function 'stringsim' computes string similarities between 0 and 1 based on 'stringdist'
156 - Calling 'stringdistmatrix' with a single argument returns an object of class 'dist'
157 - Argument 'cluster' to stringdistmatrix is phased out. It is now ignored with a message.
158 - Specifying 'ncores' was already ignored but now also causes a warning
159 - internal: rewrite of the R/C interface, saving about 1/3 of C-code, making extending easier
160 - bugfix in stringdistmatrix: output was transposed when length(a)==1 (Thanks to github user cpoonolly)
161 - Safer core detection to avoid a failure under Cygwin (thanks to Lauri Koobas)
162
163 version 0.9.0
164 - C-code underlying stringdist and amatch now automatically use multithreading based on openMP.
165 The default number of threads is governed by options('sd_num_thread').
166 - stringdist, stringdistmatrix, amatch and ain gain nthread argument which can
167 overwrite the default maximum number of threads.
168 - Argument 'maxDist' is phased out for 'stringdist' and 'stringdistmatrix'.
169 Specifying it causes a message.
170 - Argument 'ncores' is phased out for 'stringdistmatrix'. It is now ignored and
171 specifying it causes a message.
172 - bugfix in amatch/dl. In certain cases, the best match went undetected.
173 - Documentation improved and rearranged with string metrics, encoding, and
174 parallelization now documented as separate topics.
175
176 version 0.8.2
177 - Fixed a few warnings issued by the CLANG compiler (thanks to Brian Ripley).
178 This fixes a bug in amatch/jaccard
179 - Fixed a bug in stringdist/osa, dl: NA incorectly returned (thanks to Lauri
180 Koobas).
181
182 version 0.8.1
183 - stringdistmatrix returns dimensionless matrix when both arguments have length
184 zero (thanks to Richie Cotton)
185 - stringdistmatrix gains argument 'useNames' (thanks to Richie Cotton)
186 - Package now 'Imports' parallel rather than 'Depends' on it.
187 - bugfix in optimal string alignment distance: the nr of transpositions was
188 sometimes overcounted (thanks to Frank Binder)
189 - rearranged the documentation.
190
191 version 0.8.0
192 - Added soundex-based string distance (thanks to Jan van der Laan)
193 - New function 'phonetic' translates strings to phonetic codes using soundex
194 (thanks to Jan van der Laan)
195 - New function 'printable_ascii' detects non-printable ascii or non-ascii
196 characters.
197 - Precision issue: cosine distance between equal strings would be O(1e-16) in
198 stead of 0.0 (thanks to Ben Haller).
199 - Code cleaning: somewhat better performance when maxDist is unspecified in
200 stringdist. It remains deprecated.
201 - Row names in the output array of 'qgrams' are now in system native encoding
202 (used to be utf8 for all systems).
203 - updated CITATION with page number info as the R Journal is now out.
204
205 version 0.7.3
206 - bugfix in jw-distance: out-of-range access in C-code caused R to crash in
207 some cases (thanks to Carol Gan)
208 - bugfix in dl distance: in some cases, distances could be one unit too high.
209 - Updated CITATION file: paper to appear in The R Journal vol 6 (2014).
210 - Some updates in documentation.
211
212 version 0.7.2
213 - function 'qgrams' gains .list argument
214 - bugfix in multicore option of stringdistmatrix
215 - bugfix in substitution weight of DL-distance (undercounted when w4 != 1 in
216 some cases)
217 - bugfix in dl.c: C-function read outside of array.
218
219 version 0.7.0
220 - added useBytes option: up to ~3-fold speed gain at the cost of possible
221 encoding-dependent results.
222 - new memory allocation method for q-grams increases speed between ~5% and ~30%
223 depending on q and input string.
224 - function 'qgrams' gains useNames option.
225 - jaro-winkler distance gains weight argument.
226 - C-code optimization in edit-based distances: 10~20% speed increase depending
227 on input.
228 - bugfix in amatch: sometimes NA was erroneously returned.
229 - bugfix in amatch/lcs: hamming distance method was called erroneously.
230
231 version 0.6.1
232 - bugfix in parallel version of stringdistmatrix: parameter p was not passed
233 (thanks to Ricardo Saporta)
234 - bugfix in lv/osa/dl: maxDist ignored in certain cases
235
236 version 0.6.0
237 - added amatch function: approximate matching version of 'match'
238 - added ain function: approximate matching version of '%in%'
239 - qgrams now accepts arbitrary number of arguments. Outputs array, not table
240 - added cosine distance
241 - added Jaccard distance
242 - added Jaro and Jaro-Winkler distances
243 - small performance tweeks in underlying C code
244 - Edge case in stringdistmatrix: output is now always of class matrix
245 - Default maxDist is now Inf (this is only to make it more intuitive and does
246 not break previous code)
247 - BREAKING CHANGE: output -1 is replaced by Inf for all distance methods
248
249
250 version 0.5.0
251 - added qgram counting function 'qgrams'
252 - faster edge case handling in osa method.
253 - edge case in lv/osa/dl methods: distance returned length(b) in stead of -1
254 when length(a) == 0, maxDist < length(b).
255 - bugfix in lv/osa/dl method: maxDist returned when length(a) > maxDist > 0
256 (thanks to Daniel Reckhard).
257 - Hamming distance (method='h') now returns -1 for strings of unequal lengts
258 (used to emit error).
259 - added longest common substring distance (method='lcs').
260 - added qgram distance method.
261 - stringdistmatrix gains cluster argument.
262
263 version 0.4.2
264 - Fix in error message for hamming distance
265 - Workaround for system-dependent translation of utf8 NA characters
266
267 version 0.4.0
268 - First release