You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require 'damerau-levenshtein'
DamerauLevenshtein.distance(SecureRandom.base64(34755), SecureRandom.base64(34755), 0, 1) # working
DamerauLevenshtein.distance(SecureRandom.base64(34755), SecureRandom.base64(34756), 0, 1) # Segmentation fault and aborting the Ruby process
DamerauLevenshtein.distance(SecureRandom.base64(34756), SecureRandom.base64(34755), 0, 1) # Segmentation fault and aborting the Ruby process
DamerauLevenshtein.distance(SecureRandom.base64(34756), SecureRandom.base64(34756), 0, 1) # Segmentation fault and aborting the Ruby process
Is there a way to fix that, or is this just a limit of some resources?
And as a workaround, how can I catch that Exception for error handling?
Hi,
Thanks for this wonderful library!
I have an issue with comparing long texts:
Is there a way to fix that, or is this just a limit of some resources?
And as a workaround, how can I catch that Exception for error handling?
Thanks :-)
Martin
The text was updated successfully, but these errors were encountered: