全部搜尋項
squeeze  ] [  wheezy  ] [  jessie  ] [  sid  ]
[ 原始碼: ocamlagrep  ]

套件: libagrep-ocaml (1.0-11 以及其他的)

libagrep-ocaml 的相關超連結

Screenshot

Debian 的資源:

下載原始碼套件 ocamlagrep

維護小組:

外部的資源:

相似套件:

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.

標籤: 實做語言: OCaml, 角色: 共用函式庫, Purpose: use::searching, works-with::text

其他與 libagrep-ocaml 有關的套件

  • 依賴
  • 推薦
  • 建議
  • enhances

下載 libagrep-ocaml

下載可用於所有硬體架構的
硬體架構 版本 套件大小 安裝後大小 檔案
mipsel 1.0-11+b3 8.0 kB47.0 kB [文件列表]