Semantic Hypergraph AlphaBeta Parser
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperbase_parser_ab-0.2.0.tar.gz.
File metadata
- Download URL: hyperbase_parser_ab-0.2.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07f93db62c68706c96ab6fc86ea9e54b0a8cb05bd8d1c21d197d43e4a59fd4b0
|
|
| MD5 |
ce3b24fdeee2bf6bad6c9d96a51c3ce4
|
|
| BLAKE2b-256 |
61bebee69f5f9732e30f037aad51711b6c3d351a0de6a995994063f726451142
|
Provenance
The following attestation bundles were made for hyperbase_parser_ab-0.2.0.tar.gz:
Publisher:
publish.yml on hyperquest-hq/hyperbase-parser-ab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hyperbase_parser_ab-0.2.0.tar.gz -
Subject digest:
07f93db62c68706c96ab6fc86ea9e54b0a8cb05bd8d1c21d197d43e4a59fd4b0 - Sigstore transparency entry: 1239125765
- Sigstore integration time:
-
Permalink:
hyperquest-hq/hyperbase-parser-ab@4be15a8d9c551da5f75fd60bbb203da0b828157a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/hyperquest-hq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4be15a8d9c551da5f75fd60bbb203da0b828157a -
Trigger Event:
release
-
Statement type:
File details
Details for the file hyperbase_parser_ab-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hyperbase_parser_ab-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d836f3bebfe5f695b0f9f3b501d94d2e786a8a1589eb074d72732656914677
|
|
| MD5 |
8c83b57f94ca505bbd240ea7b135d930
|
|
| BLAKE2b-256 |
453a27c7c957ec00a0b8f6a326f0bf238992faf7405d4a8a336c9f3e908d9411
|
Provenance
The following attestation bundles were made for hyperbase_parser_ab-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on hyperquest-hq/hyperbase-parser-ab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hyperbase_parser_ab-0.2.0-py3-none-any.whl -
Subject digest:
69d836f3bebfe5f695b0f9f3b501d94d2e786a8a1589eb074d72732656914677 - Sigstore transparency entry: 1239125794
- Sigstore integration time:
-
Permalink:
hyperquest-hq/hyperbase-parser-ab@4be15a8d9c551da5f75fd60bbb203da0b828157a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/hyperquest-hq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4be15a8d9c551da5f75fd60bbb203da0b828157a -
Trigger Event:
release
-
Statement type: