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

Package: libagrep-ocaml-dev (1.1-1 and others)

Links for libagrep-ocaml-dev

Screenshot

Debian Resources:

Download Source Package ocamlagrep:

Maintainer:

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 all the development stuff you need to use the agrep OCaml library in your programs.

Tags: Software Development: OCaml Development, Libraries, Implemented in: implemented-in::ocaml, role::devel-lib, Role: Program, Purpose: Searching, Works with: Text

Other Packages Related to libagrep-ocaml-dev

  • depends
  • recommends
  • suggests
  • enhances

Download libagrep-ocaml-dev

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1.1-1 28.4 kB103.0 kB [list of files]
amd64 1.1-1 35.6 kB138.0 kB [list of files]
arm64 1.1-1 35.5 kB139.0 kB [list of files]
armel 1.1-1 28.2 kB101.0 kB [list of files]
armhf 1.1-1 28.1 kB100.0 kB [list of files]
hppa (unofficial port) 1.1-1 28.3 kB101.0 kB [list of files]
i386 1.1-1 28.7 kB102.0 kB [list of files]
ia64 (unofficial port) 1.0-15+b1 29.1 kB125.0 kB [list of files]
m68k (unofficial port) 1.1-1 28.2 kB100.0 kB [list of files]
mips64el 1.1-1 28.6 kB103.0 kB [list of files]
ppc64 (unofficial port) 1.1-1 28.7 kB103.0 kB [list of files]
ppc64el 1.1-1 36.7 kB146.0 kB [list of files]
riscv64 1.1-1 42.8 kB211.0 kB [list of files]
s390x 1.1-1 35.7 kB142.0 kB [list of files]
sh4 (unofficial port) 1.1-1 28.4 kB100.0 kB [list of files]
sparc64 (unofficial port) 1.1-1 28.2 kB102.0 kB [list of files]
x32 (unofficial port) 1.1-1 28.5 kB102.0 kB [list of files]