hopsparser


Namehopsparser JSON
Version 0.7.1 PyPI version JSON
download
home_page
SummaryA graph dependency parser to tinker with
upload_time2023-11-16 20:53:21
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT
keywords nlp parsing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            HOPS, an honest parser of sentences
===================================

[![Latest PyPI version](https://img.shields.io/pypi/v/hopsparser.svg)](https://pypi.org/project/hopsparser)
[![Build Status](https://github.com/hopsparser/npdependency/actions/workflows/ci.yml/badge.svg)](https://github.com/hopsparser/hopsparser/actions?query=workflow%3ACI)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

> It ain't much but it's honest work.

This is a graph-based dependency parser inspired by [Dozat and Manning
(2017)](https://nlp.stanford.edu/pubs/dozat2017deep.pdf)'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](https://github.com/getalp/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](http://hopsparser.readthedocs.io) 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

```biblatex
@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

```sh
git clone https://github.com/hopsparser/hopsparser
cd hopsparser
pip install -e ".[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](LICENCE.md) for the details.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "hopsparser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "nlp,parsing",
    "author": "",
    "author_email": "Beno\u00eet Crabb\u00e9 <benoit.crabbe@univ-paris-diderot.fr>, Lo\u00efc Grobol <lgrobol@parisnanterre.fr>",
    "download_url": "https://files.pythonhosted.org/packages/0a/12/8da87788d53f43a495448d6d327dbcb5d7bc842ff0438c79ca5363115b9c/hopsparser-0.7.1.tar.gz",
    "platform": null,
    "description": "HOPS, an honest parser of sentences\n===================================\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/hopsparser.svg)](https://pypi.org/project/hopsparser)\n[![Build Status](https://github.com/hopsparser/npdependency/actions/workflows/ci.yml/badge.svg)](https://github.com/hopsparser/hopsparser/actions?query=workflow%3ACI)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n> It ain't much but it's honest work.\n\nThis is a graph-based dependency parser inspired by [Dozat and Manning\n(2017)](https://nlp.stanford.edu/pubs/dozat2017deep.pdf)'s biaffine graph parser. Contrary to Dozat,\nthe parser performs its own tagging and can use several lexers such as FastText, BERT and others. It\nhas been originally designed within the [FlauBERT](https://github.com/getalp/Flaubert) initiative.\n\nThe parser comes with pretrained models ready for parsing French, but it might be trained for other\nlanguages without difficulties.\n\nSee the [documentation](http://hopsparser.readthedocs.io) for more information.\n\n## Citation\n\nIf you use this parser for your scientific publication, or if you find the resources in this\nrepository useful, please cite the following paper\n\n```biblatex\n@inproceedings{grobol:hal-03223424,\n    title = {{Analyse en d\u00e9pendances du fran\u00e7ais avec des plongements contextualis\u00e9s}},\n    author = {Grobol, Lo\u00efc and Crabb\u00e9, Beno\u00eet},\n    url = {https://hal.archives-ouvertes.fr/hal-03223424},\n    booktitle = {{Actes de la 28\u00e8me Conf\u00e9rence sur le Traitement Automatique des Langues Naturelles}},\n    eventtitle = {{TALN-R\u00c9CITAL 2021}},\n    venue = {Lille, France},\n    pdf = {https://hal.archives-ouvertes.fr/hal-03223424/file/HOPS_final.pdf},\n    hal_id = {hal-03223424},\n    hal_version = {v1},\n}\n```\n\n## Development\n\nIf you want a development install (so you can modify the code locally and directly run it), you can\ninstall it in editable mode with the tests extras after cloning the repository\n\n```sh\ngit clone https://github.com/hopsparser/hopsparser\ncd hopsparser\npip install -e \".[tests,traintools]\"\n```\n\nIn that case, you can run the smoke tests with `tox` to ensure that everything works on your end.\n\nNote that using the editable mode requires `pip >= 21.3.1`.\n\n## Licence\n\nThis software is released under the MIT Licence, with some files released under compatible free\nlicences, see [LICENCE.md](LICENCE.md) for the details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A graph dependency parser to tinker with",
    "version": "0.7.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/hopsparser/hopsparser/issues",
        "Changes": "https://github.com/hopsparser/hopsparser/blob/main/CHANGELOG.md",
        "Documentation": "https://hopsparser.readthedocs.io",
        "Source Code": "https://github.com/hopsparser/hopsparser"
    },
    "split_keywords": [
        "nlp",
        "parsing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ddc9e0dac72c3cdd06395725662c70a26e28f6d32a8fbe66bccd6be32ba15e38",
                "md5": "cbbfafc60624e80e6a8b23f098aa677b",
                "sha256": "6c34fd92a945eb9a63232068ac89d35c3cbe201914f5cdc73dea28df51a85f25"
            },
            "downloads": -1,
            "filename": "hopsparser-0.7.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cbbfafc60624e80e6a8b23f098aa677b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 48362,
            "upload_time": "2023-11-16T20:53:19",
            "upload_time_iso_8601": "2023-11-16T20:53:19.329035Z",
            "url": "https://files.pythonhosted.org/packages/dd/c9/e0dac72c3cdd06395725662c70a26e28f6d32a8fbe66bccd6be32ba15e38/hopsparser-0.7.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a128da87788d53f43a495448d6d327dbcb5d7bc842ff0438c79ca5363115b9c",
                "md5": "2460fd86a51801067b3145bb4f61b101",
                "sha256": "9a410fb69d8122437bebde664288a163614a1ff7845b1e8ddee8270147a826c9"
            },
            "downloads": -1,
            "filename": "hopsparser-0.7.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2460fd86a51801067b3145bb4f61b101",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 51873,
            "upload_time": "2023-11-16T20:53:21",
            "upload_time_iso_8601": "2023-11-16T20:53:21.192811Z",
            "url": "https://files.pythonhosted.org/packages/0a/12/8da87788d53f43a495448d6d327dbcb5d7bc842ff0438c79ca5363115b9c/hopsparser-0.7.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-16 20:53:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hopsparser",
    "github_project": "hopsparser",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "hopsparser"
}
        
Elapsed time: 0.13645s