Re: Fuzzy Text search routine for 4GL ??
Posted in 1992
In article <mitch.723403595@walker.b3.ingr.com> mitch@walker.b3.ingr.com (Mitch Walker) writes: > >Does anybody have a routine that can be used with 4GL to produce a >report of relatively "close" matches against a name and address >database? There is a command "agrep" in the local/bin here that does approximate matching. The man page says: AUTHORS Sun Wu and Udi Manber, Department of Computer Science, University of Arizona, Tucson, AZ 85721. {sw|udi}@cs.arizona.edu. Since I haven't used it, I can't really speak to its usefulness. I believe it's distributed as C source, so you might be able to implement the main parts as a 4GL-callable function. Included below is the archie listing of ftp sites. You can use either direct ftp or ftpmail@decwrl.dec.com. I would suggest trying first to retrieve it from optima.cs.arizona.edu, judging from the authors' addresses. Here is a listing of the files in ~ftp/agrep on that host: total 620 -rw-r--r-- 1 255 staff 3817 Apr 15 1992 README -rw-r--r-- 1 255 staff 172032 Apr 15 1992 agrep-2.04.tar -rw-r--r-- 1 255 staff 62351 Apr 15 1992 agrep-2.04.tar.Z -rw-r--r-- 1 255 staff 164856 Jan 18 1992 agrep.ps.1 -rw-r--r-- 1 255 staff 74055 Jan 18 1992 agrep.ps.1.Z -rw-r--r-- 1 255 staff 90238 Jan 18 1992 agrep.ps.2 -rw-r--r-- 1 255 staff 41544 Jan 18 1992 agrep.ps.2.Z If you do implement a 4GL version that you're willing to share, send me a copy and I'll stick it in the archive on mathcs.emory.edu. Good luck, Walt. ------------------------------------------------------------------------------ Host apocalypse.engr.ucf.edu Location: /pub/linux-mirrors/tsx11.READMEs/binaries/usr.bin DIRECTORY drwxrwxr-x 512 Sep 6 03:03 agrep Host barnacle.erc.clarkson.edu Location: /bin FILE -rwxr-xr-x 65536 Mar 24 1992 agrep Host cac.washington.edu Location: /local/bin.next2.0 FILE -rwxr-xr-x 2898 May 2 1990 agrep Location: /local/bin.pmax4.0 FILE -rwxr-xr-x 2898 May 2 1990 agrep Location: /local/bin.sparc FILE -rwxr-xr-x 2898 May 2 1990 agrep Location: /local/bin.sun386 FILE -rwxr-xr-x 2898 May 2 1990 agrep Host cs.dal.ca Location: /pub/comp.archives DIRECTORY drwxrwxrwx 512 Jun 17 1991 agrep Host cs.ubc.ca Location: /mirror1/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 May 27 14:54 agrep Host cs.uni-sb.de Location: /pub/utils DIRECTORY drwxr-xr-x 512 Sep 9 10:40 agrep Host dept-gw.cs.yale.edu Location: /pub FILE -rw-rw-rw- 0 Oct 31 08:22 agrep Host dsrbg2.informatik.tu-muenchen.de Location: /maschw/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 25 04:01 agrep Host files1zrz.zrz.tu-berlin.de Location: /pub/unix/tools DIRECTORY drwxr-xr-x 1024 Nov 13 04:52 agrep Host ftp.denet.dk Location: /pub/OS/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Nov 30 14:56 agrep Host ftp.uu.net Location: /systems/unix/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 25 23:38 agrep Host gatekeeper.dec.com Location: /bin FILE -r-xrwxr-x 90112 Feb 23 1992 agrep Host harpo.seas.ucla.edu Location: /pub DIRECTORY dr-xr-xr-x 512 Jun 24 17:29 agrep Host ipc1.rrzn.uni-hannover.de Location: /pub/ibm.linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 25 03:35 agrep Host kirk.bu.oz.au Location: /pub/OS/Linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 26 01:53 agrep Host math12.mathematik.uni-bielefeld.de Location: /pub/utils DIRECTORY drwxr-xr-x 512 Oct 7 21:49 agrep Host nic.switch.ch Location: /mirror/linux/binaries/usr.bin DIRECTORY drwxrwxr-x 512 Oct 26 03:42 agrep Host optima.cs.arizona.edu Location: / DIRECTORY drwxr-xr-x 512 Apr 15 1992 agrep Host rs3.hrz.th-darmstadt.de Location: /pub/os/Linux/binaries/usr.bin DIRECTORY drwxrwxr-x 512 Oct 25 05:26 agrep Host srawgw.sra.co.jp Location: /.a/sraFTP3b/export/Linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 25 10:30 agrep Host src.doc.ic.ac.uk Location: /computing/operating-systems/Linux/tsx-11-mirror/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 27 06:18 agrep Location: /usenet/comp.archives/text/grep DIRECTORY drwxr-xr-x 512 Jun 18 1991 agrep Host sun0.urz.uni-heidelberg.de Location: /pub/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Nov 20 18:14 agrep Host sune.stacken.kth.se Location: /disk2/OS/Linux/mirror/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 25 21:53 agrep Host toklab.ics.osaka-u.ac.jp Location: /net/unix/v26 DIRECTORY drwxrwxr-x 512 Aug 17 23:16 agrep Location: /unix DIRECTORY drwxrwxr-x 512 Apr 5 1992 agrep Host unix.hensa.ac.uk Location: /pub/uunet/systems/unix/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 27 04:29 agrep Host uxc.cso.uiuc.edu Location: /utils DIRECTORY drwxr-xr-x 1024 Aug 31 08:39 agrep Location: /utils/agrep FILE -rwxr-xr-x 57344 Aug 31 08:39 agrep Host wuarchive.wustl.edu Location: /mirrors4/linux/binaries/usr.bin DIRECTORY drwxr-xr-x 512 Oct 24 20:16 agrep ------------------------------------------------------------------------------ -- Walt Hultgren Internet: walt@rmy.emory.edu (IP 128.140.8.1) Emory University UUCP: {...,gatech,rutgers,uunet}!emory!rmy!walt 954 Gatewood Road, NE BITNET: walt@EMORY Atlanta, GA 30329 USA Voice: +1 404 727 0648