A graph dependency parser to tinker with
Project description
HOPS, an honest parser of sentences
It ain't much but it's honest work.
This is a graph-based dependency parser inspired by Dozat and Manning (2017)'s biaffine graph parser. Contrary to Dozat, the parser performs its own tagging and can use several lexers such as FastText, BERT and others. It has been originally designed within the FlauBERT initiative.
The parser comes with pretrained models ready for parsing French, but it might be trained for other languages without difficulties.
See the documentation for more information.
Citation
If you use this parser for your scientific publication, or if you find the resources in this repository useful, please cite the following paper
@inproceedings{grobol:hal-03223424,
title = {{Analyse en dépendances du français avec des plongements contextualisés}},
author = {Grobol, Loïc and Crabbé, Benoît},
url = {https://hal.archives-ouvertes.fr/hal-03223424},
booktitle = {{Actes de la 28ème Conférence sur le Traitement Automatique des Langues Naturelles}},
eventtitle = {{TALN-RÉCITAL 2021}},
venue = {Lille, France},
pdf = {https://hal.archives-ouvertes.fr/hal-03223424/file/HOPS_final.pdf},
hal_id = {hal-03223424},
hal_version = {v1},
}
Development
If you want a development install (so you can modify the code locally and directly run it), you can install it in editable mode with the tests extras after cloning the repository
git clone https://github.com/hopsparser/hopsparser
cd hopsparser
pip install -e ".[spacy,tests,traintools]"
In that case, you can run the smoke tests with tox to ensure that everything works on your end.
Note that using the editable mode requires pip >= 21.3.1.
Licence
This software is released under the MIT Licence, with some files released under compatible free licences, see LICENCE.md for the details.
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 Distributions
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 hopsparser-0.8.0-py3-none-any.whl.
File metadata
- Download URL: hopsparser-0.8.0-py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49f145680bb9599a1d3be4e448ae9e749fab0c7bb03bf7c5084bf6ec35b09615
|
|
| MD5 |
a412abf2640f6f70690f5a32ac45c21f
|
|
| BLAKE2b-256 |
0a40c890fabfd991518e7e5f5846c7939b55eec9fce1cffbe6a1d21b3efa8940
|
Provenance
The following attestation bundles were made for hopsparser-0.8.0-py3-none-any.whl:
Publisher:
ci.yml on hopsparser/hopsparser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hopsparser-0.8.0-py3-none-any.whl -
Subject digest:
49f145680bb9599a1d3be4e448ae9e749fab0c7bb03bf7c5084bf6ec35b09615 - Sigstore transparency entry: 229467486
- Sigstore integration time:
-
Permalink:
hopsparser/hopsparser@519c4a6b3146b75dffd699fbd2fb073e007a5c2c -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/hopsparser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@519c4a6b3146b75dffd699fbd2fb073e007a5c2c -
Trigger Event:
release
-
Statement type: