https://bugs.documentfoundation.org/show_bug.cgi?id=150693

--- Comment #5 from Eike Rathke <er...@redhat.com> ---
(In reply to Rafael Lima from comment #2)
> For "Exchange characters" the tooltip is "Enter the number of characters in
> the search term that can be exchanged". Maybe a better tooltip would be
> "Enter the number of characters that can differ from the search term"
That is not what it does. "ab" differs from "a" by one character but there is
no character replaced/exchanged/substituted. There is one deletion if going
from "ab" to "a".


> Here are some suggestions for the labels:
> "Number of different characters"
> "Number of additional characters"
> "Number of missing characters"
> 
> Or maybe a reduced version
> 
> "Different by [ ] characters"
> "   Larger by [ ] characters"
> "  Shorter by [ ] characters"

I think that's not any better. It may be hard to describe in three words for
each option what it actually does, but "different by" is too vague and does not
describe the replacement/substitution parameter; "larger by" sounds as if the
matched string may contain x more characters but that is only one possible
effect of the parameter; similar for "shorter by". Also, characters are not
"missing".

For choosing the wording it may be important to know roughly about the Weighted
Levenshtein Distance (WLD) algorithm. It looks for a possible transformation of
the search term to a text string by measuring an "edit distance". That
transformation can be accomplished by different operations, for example "ab"
can be transformed to "ac" by either replacing/substituting 'b' with 'c'
(distance of 1), or by removing/deleting 'b' and then adding/inserting 'c'
(distance of 2).
See also https://en.wikipedia.org/wiki/Levenshtein_distance

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to