Path: utzoo!attcan!uunet!pdn!reggie From: reggie@pdn.UUCP (George W. Leach) Newsgroups: comp.cog-eng Subject: Re: A real-world user interface example (was: Re: replacing the desktop ...) Message-ID: <5317@pdn.UUCP> Date: 11 Jan 89 12:19:51 GMT References: <1989Jan5.224743.8165@mntgfx.mentor.com> <3500003@hpindda.HP.COM> Reply-To: reggie@pdn.UUCP (George W. Leach) Organization: Paradyne Corporation, Largo FL Lines: 29 In article <3500003@hpindda.HP.COM> kmont@hpindda.HP.COM (Kevin Montgomery) writes: >> In my mind one of the few things lacking in this scheme is a set of rules >> for trying to find a command by what the user has typed in, even if >> incorrectly. We checked into this (using Soundex or something similar), > >there are algorithms to do this- it's not too hard when you consider that >you just have to find the most-alike command to what the user entered. >And you have a list of the commands. As I recall, in one of Sahni's >intro CS (or algorithm analysis) books he gave an algorithm that would >find the best word match (even allowing 'dipley' to match 'display' if >no closer matches exist). You're right, though- is a bit of overkill. 8th Edition UNIX would try to correct eroniously typed path strings. I forget if it would handle commands or not? Confirmation was utilized, if I remember correctly. And it did not appear to cause much noticable delay in responce time. -- George W. Leach Paradyne Corporation ..!uunet!pdn!reggie Mail stop LG-129 Phone: (813) 530-2376 P.O. Box 2826 Largo, FL USA 34649-2826