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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page