Repository navigation
v0.4.1
Bug Fixes
- NGram: treat literal newlines in the input as normal characters instead of
the internal padding marker. This fixes incorrect edit costs and normalized
distances greater than1.0for inputs containing\n; for example,
NGram(1).distance("\na", "\nb")now returns0.5instead of1.5
(#41).
Thanks to @Narek-Khachikyan!
New Contributors
- @Narek-Khachikyan made their first contribution in
#41
Full Changelog: v0.4.0...v0.4.1