Parsers for grammpy library
Project description
pyparsers
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file pyparsers-0.0.3.tar.gz
.
File metadata
- Download URL: pyparsers-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005d1dfc23d57445219a175ae37ce74c8d60e72b47bbfcce4a3a3f9b82d48fdd |
|
MD5 | cbaab65920635637106cc40937743d34 |
|
BLAKE2b-256 | c95397e3352ded209ae373dbaa7348d13f4ba52cd13eb1c3d37e6118e1ec21d4 |