Skip to content

v0.4.1

Choose a tag to compare

@luozhouyang luozhouyang released this 08 Nov 14:11
· 2 commits to master since this release

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 than 1.0 for inputs containing \n; for example,
    NGram(1).distance("\na", "\nb") now returns 0.5 instead of 1.5
    (#41).
    Thanks to @Narek-Khachikyan!

New Contributors

Full Changelog: v0.4.0...v0.4.1