Skip to main content

Parsers for grammpy library

Project description

pyparsers Build Status Coverage Status


THIS LIBRARY IS DEPRECATED, USE THE grampy LIBRARY INSTEAD.


Library implements CYK algorithm. It uses grammpy library for grammar specification.

Only exposed method is cyk. It raise NotParsedException if input sequence was syntactically invalid and CYK was unable to parse it.

from pyparsers import cyk

g = Grammar()
# ...

parsed = cyk(g, [*input])

Version: 0.0.3

Author: Patrik Valkovič

Licence: GNU General Public License v3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyparsers-0.0.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page