partage-0.1.0.1: Parsing factorized

Safe HaskellNone
LanguageHaskell2010

NLP.Partage.Auto.DAWG

Description

A version where the grammar is actually compressed to a form of a single directed acyclic word graph, i.e. a minimal finite state automaton.

Synopsis

Documentation

fromGram :: (Ord n, Ord t) => FactGram n t -> GramAuto n t Source

Build the DAWG-based representation of the given grammar.