XSaiga: An implementation of a polynomial-time top-down parser suitable for NLP

[ attribute-grammars, bsd3, library, memoization, natural-language-processing, parsercombinators, parsing, program, text ] [ Propose Tags ]

This package contains a Haskell implementation of the X-SAIGA project's parser combinators. The combinators enable fully-general attribute grammars to be implemented as executable specifications. Although the parser is top-down, and therefore highly modular, left-recursive productions are allowed and fully-general synthesized and inherited attribute dependencies are also allowed. The parse tree, which is decorated with attribute values, is built as a compact Tomita-style graph. Lazy evaluation enables attribute values to be evaluated only as needed. Time and space complexity are both O(n^4) where n is the length of the input. An example natural-language interface (called Solarman) to a semantic-web style RDF triplestore with approximately 3,000 facts about the solar system has been built as an executable specification of an attribute grammar. Solarman is included in this archive. Solarman computes answers to queries using an event-based denotational semantics which is based on Montague and Davidsonian semantics. A web site [4] has been created so that readers can enter queries and find out more about Solarman.

[1] http://cs.uwindsor.ca/~richard/PUBLICATIONS/PADL_08.pdf

[2] http://cs.uwindsor.ca/~richard/PUBLICATIONS/PADL_10.pdf

[3] http://cs.uwindsor.ca/~richard/PUBLICATIONS/ESWC_DEMO.pdf

[4] http://speechweb2.cs.uwindsor.ca/solarman/demo_sparql.html

Versions 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.0.1, 1.4.0.0, 1.4.0.1, 1.5.0.0, 1.6.0.0 (info)
Dependencies base (==4.6.*), cgi (==3001.1.*), containers (==0.5.*), hsparql (==0.2.*), pretty (==1.1.*), rdf4h (==1.2.*), text (==0.11.*) [details]
License BSD-3-Clause
Author Dr. Rahmatullah Hafiz, Dr. Richard Frost (rfrost@cogeco.ca), Shane Peelar, Paul Callaghan, and Eric Matthews
Maintainer peelar@uwindsor.ca
Revised Revision 4 made by InBetweenNames at Wed Aug 12 08:41:04 UTC 2015
Category Parsing, Natural Language Processing, Memoization, ParserCombinators, Attribute Grammars, Text
Home page http://hafiz.myweb.cs.uwindsor.ca/proHome.html
Uploaded by InBetweenNames at Wed Oct 1 05:23:10 UTC 2014
Distributions NixOS:1.6.0.0
Executables Solarman
Downloads 2774 total (126 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-02 [all 6 reports]
Hackage Matrix CI

Modules

  • AGParser2
  • TypeAg2

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees