#188 Edit distance: "anyhting" not corrected

0.61
open
other (35)
6
2010-03-04
2006-06-06
No

The proposed list (in English) for "anyhting" goes all
the way down to "unhinge" and "Antoine", but doesn't
include "anything", which has a single transposition.

Something is failing majorly in the "edit distance" or
"score" calculation.

Discussion

  • Kevin Atkinson

    Kevin Atkinson - 2006-10-31

    Logged In: YES
    user_id=6591

    Work's for me.

    $ aspell -a --sug-mode=fast
    @(#) International Ispell Version 3.1.20 (but really Aspell
    0.60.4)
    anyhthing
    && anyhthing 8 0: anything, unhitching, Anthony,
    unsheathing, unearthing, inhaling, inhering, unhinge

    What version of Aspell are you using.

     
  • Kevin Atkinson

    Kevin Atkinson - 2006-10-31
    • status: open --> pending-works-for-me
     
  • Ethan Bradford

    Ethan Bradford - 2006-10-31
    • status: pending-works-for-me --> open-works-for-me
     
  • Ethan Bradford

    Ethan Bradford - 2006-10-31

    Logged In: YES
    user_id=1415415

    Thanks for that printout -- it looks like you didn't enter
    the same string. You entered "anyhthing" (adding an "h").
    My word was "anyhting" (just a transposition).

    (I've also got 0.60.4, in answer to your question.)

     
  • Kevin Atkinson

    Kevin Atkinson - 2006-10-31
    • status: open-works-for-me --> open
     
  • Kevin Atkinson

    Kevin Atkinson - 2006-10-31

    Logged In: YES
    user_id=6591

    Sorry. Your right:

    $ aspell -a
    @(#) International Ispell Version 3.1.20 (but really Aspell
    0.60.4)
    anyhting
    & anyhting 13 0: anting, anteing, Antin, animating,
    anointing, uniting, Anton, enacting, inciting, inditing,
    inviting, Antoine, unhinge

     
  • Ethan Bradford

    Ethan Bradford - 2006-11-07

    Logged In: YES
    user_id=1415415

    I should have checked before, but not surprisingly, it
    doesn't correct "hting" standing alone to "thing". Also
    just discovered it doesn't suggest "to" for "ot".

     
  • Kevin Atkinson

    Kevin Atkinson - 2007-10-16
    • priority: 5 --> 6
     
  • Kevin Atkinson

    Kevin Atkinson - 2007-10-16

    Logged In: YES
    user_id=6591
    Originator: NO

    This will be partly fixed in Aspell 0.60.6:

    $ aspell-0.60-cvs/inst/bin/aspell -a
    @(#) International Ispell Version 3.1.20 (but really Aspell 0.60-cvs)
    & anyhting 14 0: anything, anting, anteing, Antin, animating, anointing, uniting, Anton, enacting, inciting, inditing, inviting, Antoine, unhinge
    & hting 42 0: hating, hatting, heating, hitting, hooting, hotting, hurting, hying, Ting, hading, hiding, hing, ting, Harding, herding, hording, sting, hinge, tinge, thing, halting, hasting, hefting, hinting, histing, hosting, hunting, tin, hearting, whiting, hieing, hoeing, heading, heeding, hooding, hind, hint, Tina, Tine, ding, tine, tiny

    So for "anyhting" it is first, for "hting" it is not first or near the
    top but at least it is in the list.

    When I tried "ot" with Aspell 0.60.5 I got:
    & ot 87 0: OT, or, it, IT, It, oat, out, to, ...
    so to is in the list, just not first, but some of the other items on
    the list could also be typos such as "or" or "it"

    I agree that typos should be first on the list, it is a TODO item for
    Aspell 0.61.

     
  • Kevin Atkinson

    Kevin Atkinson - 2010-03-04
    • milestone: --> 0.61
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks