dawg-ord

Directed acyclic word graphs https://github.com/kawu/dawg-ord

Latest on Hackage:0.5.1.0

See all snapshots dawg-ord appears in

BSD-3-Clause licensed by Jakub Waszczuk

Module documentation for 0.5.1.0

This version can be pinned in stack with:dawg-ord-0.5.1.0@sha256:4b229cbde078dad9bdded64b4a7c7dedac245818c3d7edc947f7fb100c9a6560,2524

The library implements directed acyclic word graphs (DAWGs) internally represented as minimal acyclic deterministic finite-state automata. The implemented version of DAWG can be seen as a map from sequences of alphabet symbols (keys) to values.

The library allows to build DAWGs over any symbols and values provided that they both have Ord instances (see the Data.DAWG.Ord module). It also provides a fast insert operation which can be used to construct DAWGs on-the-fly.