Inter-annotator agreement measure and alignmentwritten in python
Project description
Pygamma-agreement
pygamma-agreement is an open-source package to measure Inter/Intra-annotator agreement for sequences of annotations with the γ measure [2]. It is written in Python 3 and based mostly on NumPy, Numba and pyannote.core. For a full list of available functions, please refer to the package documentation.
Installation
Dependencies
The main dependencies of pygamma-agreement are :
NumPy <https://numpy.org/>
_ (>= 1.10)SciPy <https://www.scipy.org/>
_ (>= 1.1.0)sortedcontainers <http://www.grantjenks.com/docs/sortedcontainers/>
_ (>= 2.0)pyannote.core <http://pyannote.github.io/pyannote-core/>
_ (>= 0.1.2)Matplotlib <https://matplotlib.org/>
_ (>= 2.0)CVXPY <https://www.cvxpy.org/>
_ (>= 1.0.25)Numba <https://numba.pydata.org/>
_ (== 0.48.0)TextGrid <https://github.com/kylebgorman/textgrid>
_ (== 1.5)
pygamma-agreement is a Python 3 package and is currently tested for Python 3.7. PyGammaAgreement does not work with Python 2.7.
User installation
pygamma-agreement can be easily installed using pip
pip install pygamma-agreement
Quick start
Tests
The package comes with a unit-tests suit. To run it, first install pytest on your Python environment:
pip install pytest
pytest test/
References
.. [1] Titeux H., Riad R.
*pygamma-agreement: Gamma γ measure for inter-annotator agreement and alignment in Python.*
.. [2] Mathet Y., Widlöcher A., Métivier, J.P.
*The unified and holistic method gamma γ for inter-annotator agreement measure and alignment.*
Computational Linguistics
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.