I made a patch to do just this which has been reviewed, but I don't know if it has been integrated yet. The patch is on SourceForge.
Note that it's not exactly edit distance that Aspell uses, so the patch talks about the "score", but the dominant component is the edit distance, so that change met my needs. On 4/5/07, Philip Zigoris <[EMAIL PROTECTED]> wrote:
Hello, It would be really useful in my application if it was possible to get the string edit distance (SED) for all of the suggestions returned by aspell. Also, is it possible to alter the parameters of the string edit distance function? For instance, tweak the cost of swapping letters or inserting or deleting certain characters? Currently I have my own implementation that lets me do this, but it seems like aspell is already doing a lot of this work in the process so i might as well not waste any time. Thanks, phil z _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
_______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
