partage-0.1.0.1: Parsing factorized

Safe HaskellNone
LanguageHaskell2010

NLP.Partage.Auto.Set

Description

A version in which a separate automaton is built (according to the underlying building function) for each distinct rule head symbol, i.e. the set of rules is first partitioned w.r.t. the heads of the individual rules, and then for each partition a separate automaton is built.

Synopsis

Documentation

fromGram Source

Arguments

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

The underlying automaton construction method

-> FactGram n t

The grammar to compress

-> GramAuto n t 

Build the set of automata from the given grammar.