Re: [Rd] A possible improvement to apropos

From: Kurt Hornik <>
Date: Fri 15 Dec 2006 - 17:51:11 GMT

>>>>> Seth Falcon writes:

> Kurt Hornik <> writes:
>>>>>>> Robert Gentleman writes:

>>> I would also, personally prefer some sort of approximate matching since 
>>> there are different ways to spell some words, and some folks abbreviate 
>>> parts of words.


>> The same design has been employed by for a long time, for
>> exactly the same reasons (albeit with slightly different agrep
>> defaults).
> I may not have spent enough time adjusting the behavior, but when I
> tried agrep for apropos, I found that I almost always got way too many
> hits and found the case-insensitive grep the right balance.

Have you tried the design? It uses approximate matching only if the match string is long enough (no less than 5 characters, something slightly larger may be useful for apropos()).

-k mailing list Received on Sat Dec 16 09:07:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 15 Dec 2006 - 22:31:01 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.