partage-0.1.0.1: Parsing factorized

Safe HaskellNone
LanguageHaskell2010

NLP.Partage.Auto.Trie

Description

Prefix tree grammar representation: the set of rules is stored in a form of a prefix tree.

Synopsis

Documentation

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

Build the trie-based representation of the given grammar.