Skip to content

Releases: Edgaras0x4E/StrSim

v1.1.1

24 Oct 21:54

Choose a tag to compare

What's New in v1.1.1

🔧 Fixed Naming Issues

  • Fixed Jaro::distance() - Previously returned similarity values (1.0 = identical), now correctly returns distance values (0.0 = identical)
  • Fixed JaroWinkler::distance() - Previously returned similarity values (1.0 = identical), now correctly returns distance values (0.0 = identical)

New Functions Added

  • Jaro::similarity() - Returns proper similarity values (1.0 = identical, 0.0 = completely different)
  • JaroWinkler::similarity() - Returns proper similarity values (1.0 = identical, 0.0 = completely different)

📚 Improvements

  • Better MongeElkan - Fixed edge cases for empty string comparisons

🔄 Migration Guide

If you were using Jaro::distance() or JaroWinkler::distance() expecting similarity values (where 1.0 = identical):

  • Before: Jaro::distance("hello", "hello") returned 1.0
  • After: Use Jaro::similarity("hello", "hello") to get 1.0, or Jaro::distance("hello", "hello") returns 0.0

v1.1.0

25 Sep 12:14

Choose a tag to compare

v1.1.0

v1.0.0

25 May 13:33

Choose a tag to compare

v1.0.0