Skip to main content

YASP

Yet another Apertium stream parser

Usage

>>> from pprint import pprint
>>> import yasp
>>> pprint(yasp.stream.parse('^prpers<prn><subj><p1><mf><sg>$ ^saw<vblex><pres>$ ^a<det><ind><sg>$ ^cat<n><sg>$'))
[('LEXICAL-UNIT',
  [{'FLAG': '',
    'INVARIABLE-PART0': [],
    'INVARIABLE-PART1': [],
    'LING-FORM': 'prpers',
    'TAGS': ['prn', 'subj', 'p1', 'mf', 'sg']}]),
 ('UNPARSED', ' '),
 ('LEXICAL-UNIT',
  [{'FLAG': '',
    'INVARIABLE-PART0': [],
    'INVARIABLE-PART1': [],
    'LING-FORM': 'saw',
    'TAGS': ['vblex', 'pres']}]),
 ('UNPARSED', ' '),
 ('LEXICAL-UNIT',
  [{'FLAG': '',
    'INVARIABLE-PART0': [],
    'INVARIABLE-PART1': [],
    'LING-FORM': 'a',
    'TAGS': ['det', 'ind', 'sg']}]),
 ('UNPARSED', ' '),
 ('LEXICAL-UNIT',
  [{'FLAG': '',
    'INVARIABLE-PART0': [],
    'INVARIABLE-PART1': [],
    'LING-FORM': 'cat',
    'TAGS': ['n', 'sg']}])]
>>> 

Metadata

Release files for yasp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yasp 0.1.1
File Size Uploaded Provenance Actions
yasp-0.1.1.tar.gz 15.2 kB Without provenance Details for yasp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yasp 0.1.1
File Interpreter ABI Platform Actions
yasp-0.1.1-py3-none-any.whl Python 3 none any Details for yasp-0.1.1-py3-none-any.whl

Total release size: 30.4 kB

Release files / yasp-0.1.1.tar.gz

Download URL yasp-0.1.1.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b930c56d295d22c9b8efe62675b8711398aa4ec56c18aeca871c824fc900306a
BLAKE2b-256 checksum
How to use checksums
bda8b1b52895721eb272220e6ef4d00bf34dcf06e8468069e656cb4d9c053083
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / yasp-0.1.1-py3-none-any.whl

Download URL yasp-0.1.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9adc8b0d6ca1b7f5a44aff1f35ecd37b051dd56e9d30a10a5235a0aa8efdbd33
BLAKE2b-256 checksum
How to use checksums
f409c60cf6cfb80df2835a3a8fee3cbdef073635f5b0de15558fc126f01aef00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for yasp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page