dev@glassfish.java.net

Re: "Did you mean" in asadmin

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Fri, 11 Aug 2006 12:03:47 -0700

Craig,

I remember encountering a compiler that suggested corrections. I forget
whether the suggestions were interactive or not...

I am thinking that it was the UCSD P-System compiler for Pascal?

Do you remember something similar?


vbk

Craig L Russell wrote:
> Hi Kohsuke,
>
> This is a great idea, perhaps you could blog about it?
>
> I think it applies to lots of different cases and needs wider
> awareness. You didn't mention what package it was in. Could it return
> a String[ ] of possible candidates ranked by nearness to the subject
> String? Then you could offer the user a choice, e.g.
>
> "Your command "foo" was not recognized. Perhaps you meant 'go-foo',
> 'foo-bar', or 'foo-lish'?"
>
> Sweet.
>
> Craig
>