GrammarProducts: Grammar products and higher-dimensional grammars
An algebra of liner and context-free grammars.
This library provides the implementation of our theory of algebraic operations over linear and context-free grammars. Using algebraic operations, it is possible to construct complex dynamic programming algorithms from simpler "atomic" grammars.
Our most important contribution is the definition of a product of grammars which naturally leads to alignment-like algorithms on multiple tapes.
An efficient implementation of the resulting grammars is
possible via the ADPfusion framework. The FormalGrammars
library provides the required "Template Haskell" machinary.
Alternatively, the resulting grammars can also be pretty-printed in various ways (LaTeX, ANSI, Haskell module with signature and grammar).
Formal background can be found in two papers:
Christian Höner zu Siederdissen, Ivo L. Hofacker, and Peter F. Stadler Product Grammars for Alignment and Folding submitted
and
Christian Höner zu Siederdissen, Ivo L. Hofacker, and Peter F. Stadler How to Multiply Dynamic Programming Algorithms Brazilian Symposium on Bioinformatics (BSB 2013) Lecture Notes in Bioinformatics 8213, Springer, Heidelberg
Modules
- FormalLanguage
- FormalLanguage.GrammarProduct
- Op
- FormalLanguage.GrammarProduct.Op.Add
- FormalLanguage.GrammarProduct.Op.Chomsky
- FormalLanguage.GrammarProduct.Op.Chomsky.Proof
- FormalLanguage.GrammarProduct.Op.Common
- FormalLanguage.GrammarProduct.Op.Greibach
- FormalLanguage.GrammarProduct.Op.Greibach.Proof
- FormalLanguage.GrammarProduct.Op.Linear
- FormalLanguage.GrammarProduct.Op.Power
- FormalLanguage.GrammarProduct.Op.Subtract
- FormalLanguage.GrammarProduct.Parser
- Op
- FormalLanguage.GrammarProduct
Downloads
- GrammarProducts-0.0.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.2.0.0 |
---|---|
Change log | changelog |
Dependencies | ADPfusion (>=0.2.0), ansi-wl-pprint, base (>=4 && <5), bytestring, cmdargs (>=0.10 && <0.11), containers, data-default, FormalGrammars (>=0.0.0.2), HaTeX, lens, newtype, parsers, PrimitiveArray (>=0.5.1.0), semigroups, transformers, trifecta [details] |
License | GPL-3.0-only |
Copyright | Christian Hoener zu Siederdissen, Ivo L. Hofacker, Peter F. Stadler, 2013 |
Author | Christian Hoener zu Siederdissen, 2013 |
Maintainer | choener@tbi.univie.ac.at |
Category | Formal Languages, Bioinformatics |
Home page | http://www.tbi.univie.ac.at/~choener/gramprod |
Source repo | head: git clone git://github.com/choener/GrammarProducts |
Uploaded | by ChristianHoener at 2013-12-22T23:03:08Z |
Distributions | |
Reverse Dependencies | 4 direct, 1 indirect [details] |
Executables | GrammarProductPP |
Downloads | 7526 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Successful builds reported [all 8 reports] |