tieval


Nametieval JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryA framework for evaluation and development of temporal-aware models.
upload_time2024-12-13 21:24:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (C) 2023, INESC TEC tieval: An Evaluation Framework for Temporal Information Extraction Systems This software is authored by: Hugo Sousa You can reach INESC TEC Technology Licensing Office (TLO) at info.sal@inesctec.pt, or Campus da Faculdade de Engenharia da Universidade do Porto Rua Dr. Roberto Frias 4200-465 Porto Portugal Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords temporal information evaluation temporal information extraction temporal relation classification temporal relation extraction temporal expression identification event identification event classification
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tieval

[![PyPI](https://img.shields.io/pypi/v/tieval)](https://pypi.org/project/tieval/)
[![Documentation Status](https://readthedocs.org/projects/tieval/badge/?version=latest)](https://tieval.readthedocs.io/en/latest/?badge=latest)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tieval)
[![PyPI - License](https://img.shields.io/pypi/l/tieval)](LICENSE)
![GitHub repo size](https://img.shields.io/github/repo-size/LIAAD/tieval)

[![Paper](https://img.shields.io/badge/-paper-9cf)](https://dl.acm.org/doi/abs/10.1145/3539618.3591892)

A framework for evaluation and development of temporally aware models.

![](imgs/tieval.png)

## Installation

The package is available on [PyPI](https://pypi.org/project/tieval/):

```shell
pip install tieval
```

It requires Python 3.8 or above.

## Usage

To understand its usability refer to the notebooks available [here]().

## Data

Throughout the last two decades many datasets have been developed to train this task.
tieval provides an easy interface to download the available corpus.

To know more about the module run the following code on the terminal.

```shell
python -m tieval download --help
```

## How to ...

In this section, we summarize how to perform the most useful operations in tieval.

### download a dataset.

```python
from pathlib import Path
from tieval import datasets

data_path = Path("data/")
datasets.download("TimeBank", data_path)
```

### load a dataset.

```python
from tieval import datasets

te3 = datasets.read("tempeval_3")
```

### load a model.

```python
from tieval import models

model = models.TimexIdentificationBaseline()
```

### make predictions.

```python
pred = model.predict(te3.test)
```

### evaluate predictions.

```python
from tieval import evaluate

annot = {doc.name: doc.timexs for doc in te3.test}
results = evaluate.timex_identification(annot, pred)
```

## Contributing

1. Fork it (https://github.com/LIAAD/tieval)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

## Meta

Hugo Sousa - hugo.o.sousa@inesctec.pt

This framework is part of the [Text2Story](https://text2story.inesctec.pt/) project which is financed by the ERDF –
European Regional Development Fund through the North Portugal Regional Operational Programme (NORTE 2020), under the
PORTUGAL 2020 and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia
within project PTDC/CCI-COM/31857/2017 (NORTE-01-0145-FEDER-03185) 

## Publications

If you use `tieval` in your work please site the following article:


```bibtex
@inproceedings{10.1145/3539618.3591892,
    author = {Sousa, Hugo and Campos, Ricardo and Jorge, Al\'{\i}pio M\'{a}rio},
    title = {Tieval: An Evaluation Framework for Temporal Information Extraction Systems},
    year = {2023},
    isbn = {9781450394086},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    url = {https://doi.org/10.1145/3539618.3591892},
    doi = {10.1145/3539618.3591892},
    booktitle = {Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval},
    pages = {2871–2879},
    numpages = {9},
    keywords = {temporal information extraction, evaluation, python package},
    location = {Taipei, Taiwan},
    series = {SIGIR '23}
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tieval",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Hugo Sousa <hugo.o.sousa@inesctec.pt>",
    "keywords": "temporal information, evaluation, temporal information extraction, temporal relation classification, temporal relation extraction, temporal expression identification, event identification, event classification",
    "author": null,
    "author_email": "Hugo Sousa <hugo.o.sousa@inesctec.pt>",
    "download_url": "https://files.pythonhosted.org/packages/d4/81/c045ef086ca6b5b4d2b7c25319e6a5cbf5d77c52374fefeea75225068c8b/tieval-0.1.4.tar.gz",
    "platform": null,
    "description": "# tieval\n\n[![PyPI](https://img.shields.io/pypi/v/tieval)](https://pypi.org/project/tieval/)\n[![Documentation Status](https://readthedocs.org/projects/tieval/badge/?version=latest)](https://tieval.readthedocs.io/en/latest/?badge=latest)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tieval)\n[![PyPI - License](https://img.shields.io/pypi/l/tieval)](LICENSE)\n![GitHub repo size](https://img.shields.io/github/repo-size/LIAAD/tieval)\n\n[![Paper](https://img.shields.io/badge/-paper-9cf)](https://dl.acm.org/doi/abs/10.1145/3539618.3591892)\n\nA framework for evaluation and development of temporally aware models.\n\n![](imgs/tieval.png)\n\n## Installation\n\nThe package is available on [PyPI](https://pypi.org/project/tieval/):\n\n```shell\npip install tieval\n```\n\nIt requires Python 3.8 or above.\n\n## Usage\n\nTo understand its usability refer to the notebooks available [here]().\n\n## Data\n\nThroughout the last two decades many datasets have been developed to train this task.\ntieval provides an easy interface to download the available corpus.\n\nTo know more about the module run the following code on the terminal.\n\n```shell\npython -m tieval download --help\n```\n\n## How to ...\n\nIn this section, we summarize how to perform the most useful operations in tieval.\n\n### download a dataset.\n\n```python\nfrom pathlib import Path\nfrom tieval import datasets\n\ndata_path = Path(\"data/\")\ndatasets.download(\"TimeBank\", data_path)\n```\n\n### load a dataset.\n\n```python\nfrom tieval import datasets\n\nte3 = datasets.read(\"tempeval_3\")\n```\n\n### load a model.\n\n```python\nfrom tieval import models\n\nmodel = models.TimexIdentificationBaseline()\n```\n\n### make predictions.\n\n```python\npred = model.predict(te3.test)\n```\n\n### evaluate predictions.\n\n```python\nfrom tieval import evaluate\n\nannot = {doc.name: doc.timexs for doc in te3.test}\nresults = evaluate.timex_identification(annot, pred)\n```\n\n## Contributing\n\n1. Fork it (https://github.com/LIAAD/tieval)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n## Meta\n\nHugo Sousa - hugo.o.sousa@inesctec.pt\n\nThis framework is part of the [Text2Story](https://text2story.inesctec.pt/) project which is financed by the ERDF \u2013\nEuropean Regional Development Fund through the North Portugal Regional Operational Programme (NORTE 2020), under the\nPORTUGAL 2020 and by National Funds through the Portuguese funding agency, FCT - Funda\u00e7\u00e3o para a Ci\u00eancia e a Tecnologia\nwithin project PTDC/CCI-COM/31857/2017 (NORTE-01-0145-FEDER-03185) \n\n## Publications\n\nIf you use `tieval` in your work please site the following article:\n\n\n```bibtex\n@inproceedings{10.1145/3539618.3591892,\n    author = {Sousa, Hugo and Campos, Ricardo and Jorge, Al\\'{\\i}pio M\\'{a}rio},\n    title = {Tieval: An Evaluation Framework for Temporal Information Extraction Systems},\n    year = {2023},\n    isbn = {9781450394086},\n    publisher = {Association for Computing Machinery},\n    address = {New York, NY, USA},\n    url = {https://doi.org/10.1145/3539618.3591892},\n    doi = {10.1145/3539618.3591892},\n    booktitle = {Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval},\n    pages = {2871\u20132879},\n    numpages = {9},\n    keywords = {temporal information extraction, evaluation, python package},\n    location = {Taipei, Taiwan},\n    series = {SIGIR '23}\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (C) 2023, INESC TEC  tieval: An Evaluation Framework for Temporal Information Extraction Systems  This software is authored by: Hugo Sousa  You can reach INESC TEC Technology Licensing Office (TLO) at info.sal@inesctec.pt, or Campus da Faculdade de Engenharia da Universidade do Porto Rua Dr. Roberto Frias 4200-465 Porto Portugal  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A framework for evaluation and development of temporal-aware models.",
    "version": "0.1.4",
    "project_urls": {
        "Documentation": "https://tieval.readthedocs.io/",
        "Repository": "https://github.com/LIAAD/tieval"
    },
    "split_keywords": [
        "temporal information",
        " evaluation",
        " temporal information extraction",
        " temporal relation classification",
        " temporal relation extraction",
        " temporal expression identification",
        " event identification",
        " event classification"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9dd94b8c3ee1d302ca886b8d940fdabacaaa8aca1f3c65344f78bd988b0a7aa9",
                "md5": "cf6201ac559686c72d5dc30b02888e05",
                "sha256": "ef4d3123501114344039d12bfde1455008f51e08a739297a8e435f3e73c6efb6"
            },
            "downloads": -1,
            "filename": "tieval-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf6201ac559686c72d5dc30b02888e05",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 36280,
            "upload_time": "2024-12-13T21:24:52",
            "upload_time_iso_8601": "2024-12-13T21:24:52.517134Z",
            "url": "https://files.pythonhosted.org/packages/9d/d9/4b8c3ee1d302ca886b8d940fdabacaaa8aca1f3c65344f78bd988b0a7aa9/tieval-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d481c045ef086ca6b5b4d2b7c25319e6a5cbf5d77c52374fefeea75225068c8b",
                "md5": "2d4ffee8efdcabac68e2e3648e15a219",
                "sha256": "e5254dacce26642f9e1d946439ff569a1b5ee46789e31b90f199b34ecba534e3"
            },
            "downloads": -1,
            "filename": "tieval-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "2d4ffee8efdcabac68e2e3648e15a219",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 167867,
            "upload_time": "2024-12-13T21:24:53",
            "upload_time_iso_8601": "2024-12-13T21:24:53.662762Z",
            "url": "https://files.pythonhosted.org/packages/d4/81/c045ef086ca6b5b4d2b7c25319e6a5cbf5d77c52374fefeea75225068c8b/tieval-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-13 21:24:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LIAAD",
    "github_project": "tieval",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "tieval"
}
        
Elapsed time: 0.37606s