The partage package
The library implements an Earley-style, bottom-up parser for tree adjoining grammars (TAGs) with special focus on structure (and, hence, computation) sharing.
Two particular flavours of structure sharing are currently implemented:
Subtrees common to different elementary trees are shared amongst them. The input TAG, which can be seen as a set of elementary (initial and auxiliary) grammar trees, is in fact transformed into an equivalent DAG.
Flat production grammar rules representing the individual parts of the DAG are then compressed in the form of a minimal FSA. Other forms of compression are also provided by the library (e.g. prefix tree).
|Dependencies||base (==4.*), containers (==0.5.*), data-lens-light (==0.1.*), data-partition (==0.3.*), dawg-ord (==0.5.*), mmorph (==1.0.*), mtl (>=2.1 && <2.3), pipes (==4.1.*), PSQueue (==1.1.*), random (==1.1.*), transformers (>=0.3 && <0.5), vector (>=0.10 && <0.12) [details]|
|Copyright||Copyright (c) 2015-2016 Jakub Waszczuk|
|Category||Natural Language Processing|
|Source repository||head: git clone https://github.com/kawu/partage.git|
|Uploaded||Wed Mar 16 10:40:11 UTC 2016 by JakubWaszczuk|
|Downloads||86 total (12 in the last 30 days)|
|Status||Docs available [build log]
Last success reported on 2016-03-16 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees