package wu-manber-fuzzy-search

  1. Overview
  2. Docs

Module Wu_Manber.PatternsSource

Collection of modules types for patterns with different operations

Sourcemodule type Pattern = sig ... end

Basic pattern.

Sourcemodule type Elems = sig ... end

Some notion of characters.

Useful operators for patterns and elements

Sourcemodule type ElemsWithEquality = sig ... end

Some notion of characters and equality between characters.

Sourcemodule type ElemsIndexable = sig ... end

Characters can be enumerated from 0 to some n.

Sourcemodule type PatternWithElemEquality = sig ... end

Patterns with a notion of characters and a equality of characters operator.

Sourcemodule type PatternWithFoldRight = sig ... end

Patterns with a fold right operation.

Sourcemodule type PatternWithFoldLeft = sig ... end

Patterns with both fold right and fold left operations.

Sourcemodule type PatternWithIndexableElements = sig ... end

Patterns with a fold right operation where the elements can enumerated from 0 to some max_elem_index.

OCaml

Innovation. Community. Security.