all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: ocamlagrep  ]

Package: libagrep-ocaml (1.0-13 and others)

Links for libagrep-ocaml

Screenshot

Debian Resources:

Download Source Package ocamlagrep:

Maintainers:

External Resources:

Similar packages:

Wu-Manber algorithm for string searching with errors

This OCaml library implements the Wu-Manber algorithm for string searching with errors, popularized by the "agrep" Unix command and the "glimpse" file indexing tool. It was developed as part of a search engine for a largish MP3 collection; the "with error" searching comes handy for those who can't spell Liszt or Shostakovitch.

Given a search pattern and a string, this algorithm determines whether the string contains a substring that matches the pattern up to a parameterizable number N of "errors". An "error" is either a substitution (replace a character of the string with another character), a deletion (remove a character) or an insertion (add a character to the string). In more scientific terms, the number of errors is the Levenshtein edit distance between the pattern and the matched substring.

The search patterns are roughly those of the Unix shell, including one-character wildcard (?), character classes ([0-9]) and multi-character wildcard (*). In addition, conjunction (&) and alternative (|) are supported. General regular expressions are not supported, however.

This package contains only the shared runtime stub libraries.

Tags: Implemented in: OCaml, Role: Program, Shared Library, Purpose: use::searching, works-with::text

Other Packages Related to libagrep-ocaml

  • depends
  • recommends
  • suggests
  • enhances

Download libagrep-ocaml

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 1.0-13+b2 7.8 kB31.0 kB [list of files]
arm64 1.0-13+b2 7.4 kB26.0 kB [list of files]
armel 1.0-13+b2 7.3 kB26.0 kB [list of files]
armhf 1.0-13+b2 7.2 kB22.0 kB [list of files]
i386 1.0-13+b2 7.9 kB30.0 kB [list of files]
mips64el 1.0-13+b2 7.8 kB27.0 kB [list of files]
mipsel 1.0-13+b2 7.6 kB26.0 kB [list of files]
ppc64el 1.0-13+b2 8.1 kB82.0 kB [list of files]
s390x 1.0-13+b2 7.8 kB27.0 kB [list of files]