Jump to content

Agrep: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
move to Category:Information retrieval systems
Line 63: Line 63:
*See also
*See also
**[http://laurikari.net/tre TRE regexp matching package]
**[http://laurikari.net/tre TRE regexp matching package]
**[http://www.bell-labs.com/project/wwexptools/cgrep/ cgrep a command line approximate string matching tool]
**[https://web.archive.org/web/20080513225010/http://www1.bell-labs.com/project/wwexptools/cgrep/ cgrep a defunct command line approximate string matching tool]
**[http://www.dcc.uchile.cl/~gnavarro/software/ nrgrep] a command line approximate string matching tool
**[http://www.dcc.uchile.cl/~gnavarro/software/ nrgrep] a command line approximate string matching tool
**[http://finzi.psych.upenn.edu/R/library/base/html/agrep.html agrep as implemented in R]
**[http://finzi.psych.upenn.edu/R/library/base/html/agrep.html agrep as implemented in R]

Revision as of 07:20, 7 October 2015

agrep
Developer(s)
Repository
Operating system
TypePattern matching
Websitewww.tgries.de/agrep/ Edit this on Wikidata

agrep (approximate grep) is a proprietary approximate string matching program, developed by Udi Manber and Sun Wu between 1988 and 1991, for use with the Unix operating system. It was later ported to OS/2, DOS, and Windows.

It selects the best-suited algorithm for the current query from a variety of the known fastest (built-in) string searching algorithms, including Manber and Wu's bitap algorithm based on Levenshtein distances.

agrep is also the search engine in the indexer program GLIMPSE. agrep is free for private and non-commercial use only, and belongs to the University of Arizona.

Alternative implementations

A more recent agrep is the command-line tool provided with the TRE regular expression library. TRE agrep is more powerful than Wu-Manber agrep since it allows weights and total costs to be assigned separately to individual groups in the pattern. It can also handle Unicode.[1] Unlike Wu-Manber agrep, TRE agrep is licensed under a 2-clause BSD-like license.

FREJ (Fuzzy Regular Expressions for Java) open-source library provides command-line interface which could be used in the way similar to agrep. Unlike agrep or TRE it could be used for constructing complex substitutions for matched text.[2] However its syntax and matching abilities differs significantly from ones of ordinary regular expressions.

References

  1. ^ "TRE - TRE regexp matching package - Features".
  2. ^ "FREJ - Fuzzy Regular Expressions for Java - Guide and Examples".