Hi, In my application, it seems to me (at this point at least) that I will need to adjust the edit distance weights making "del1" and "del2" different. While experimenting with this, I found that suggest.cpp calls the edit_distance functions with the first two arguments (the original word/original soundslike, the candidate word/candidate soundslike) inconsistently. For example, in the released version 0.60.5,
aspell-0.60.5/modules/speller/default/suggest.cpp: line#721, 750, 777: (The original_soundslike is the _second_ argument) score = edit_dist_fun(sl, original_soundslike, parms->edit_distance_weights); But on lines 1030, 1044, 1106, 1121: "original" word and soundslike are the _first_ argument i->word_score = edit_distance(original.clean, i->word_clean,.....); i->soundslike_score = edit_distance(original.soundslike, i->soundslike , parms->edit_distance_weights); Of course, I see that the default values of del1=del2=95, so it makes no difference right now. But, when those two are different, the inconsistency will show its effects... How do I file a bug for this? Thanks Paraag
_______________________________________________ Aspell-devel mailing list Aspell-devel@gnu.org http://lists.gnu.org/mailman/listinfo/aspell-devel