Skip to main content

Hyperbase Alpha-Beta Parser

A semantic hypergraph parser for natural language

The Alpha-Beta parser is a Hyperbase plugin that converts natural language text into Semantic Hypergraphs (SH). It works in two stages:

  • Alpha stage: A multilingual neural token classifier (based on DistilBERT) assigns one of 39 semantic atom types to each token in a sentence -- for example, concepts, predicates, modifiers, builders, triggers and conjunctions.
  • Beta stage: A rule-based engine combines classified atoms into ordered, recursive hyperedges using syntactic and semantic composition rules, producing structured representations that can be manipulated with Hyperbase.

Supported languages

The parser supports any language with a spaCy model available, including English, French, German, Italian, Portuguese and Spanish.

While the parser is theoretically language-agnostic and could in principle support languages such as Mandarin, which differ substantially in morphological and syntactic structure, the authors' linguistic competence is limited to Germanic and Romance languages. We welcome the help of native speakers or domain experts in validating/improving support for other language families.

Installation and manual

Installation instructions, the manual and more information can be found here: https://hyperquest.ai/hyperbase

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for hyperbase-parser-ab 0.3.0

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

Source distribution (sdist)

Source distribution for hyperbase-parser-ab 0.3.0
File Size Uploaded Provenance
hyperbase_parser_ab-0.3.0.tar.gz 22.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hyperbase-parser-ab 0.3.0
File Interpreter ABI Platform
hyperbase_parser_ab-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.5 kB

Release files / hyperbase_parser_ab-0.3.0.tar.gz

Download URL hyperbase_parser_ab-0.3.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e773837e573551554532ceef27e20165a9179ea78953219d7c35de6361b7e816
BLAKE2b-256 checksum
How to use checksums
5e071e45d3d0a6a05ba528a389a70fdc78bb8d70acc8035fbdf05481a3fe5797
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / hyperbase_parser_ab-0.3.0-py3-none-any.whl

Download URL hyperbase_parser_ab-0.3.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45647af586e10a4384a0a33643d3bd2a5d06a449e014a79008a89ae0939903ad
BLAKE2b-256 checksum
How to use checksums
22b212603c8e6e84aa69f0b850ecb0b941852721386b309428c8cfefec2850df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Security for hyperbase-parser-ab 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hyperbase_parser_ab-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

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