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
I've encountered this issue for a while, where autojump will choose the wrong directory from the database when I make a minor typo. It seems like the fuzzy matching algorithm is a little off.
Here's a case where I've encountered this:
> j facbeook-worker # I meant to say facebook-worker
[redacted]/facebook
# I wanted the facebook-worker directory
Could you explain why autojump chooses the latter directory even though it has a much further Levenshtein difference from my input?
Difference between facbeook-worker and facebook-worker: 2
Difference between facbeook-worker and facebook: 8
I suppose that I'm basically complaining about the choice of Jaro-Winkler over Levenshtein or Damerau–Levenshtein which are also implemented as a part of strsim-rs.
The text was updated successfully, but these errors were encountered:
I've encountered this issue for a while, where autojump will choose the wrong directory from the database when I make a minor typo. It seems like the fuzzy matching algorithm is a little off.
Here's a case where I've encountered this:
The relevant weights from my database:
Could you explain why autojump chooses the latter directory even though it has a much further Levenshtein difference from my input?
Difference between
facbeook-worker
andfacebook-worker
: 2Difference between
facbeook-worker
andfacebook
: 8I suppose that I'm basically complaining about the choice of Jaro-Winkler over Levenshtein or Damerau–Levenshtein which are also implemented as a part of
strsim-rs
.The text was updated successfully, but these errors were encountered: