Skip to main content

PyLaia

PyLaia is a device agnostic, PyTorch based, deep learning toolkit for handwritten document analysis.

It is also a successor to Laia.

pipeline status Coverage Code quality

Python: 3.9 | 3.10 PyTorch: 1.13.0 | 1.13.1 pre-commit: enabled Code style: black Ruff

Get started by having a look at our Documentation!

Installation

To install PyLaia from PyPi:

pip install pylaia

The following Python scripts will be installed in your system:

Contributing

If you want to contribute new feature or found a text that is incorrectly segmented using pySBD, then please head to CONTRIBUTING.md to know more and follow these steps.

  1. Fork it ( https://gitlab.teklia.com/atr/pylaia/-/forks/new )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Merge Request ( https://gitlab.teklia.com/atr/pylaia/-/merge_requests/new )

Code of conduct

We are committed to providing a friendly, safe and welcoming environment for all. Please read and respect the PyLaia Code of Conduct.

Acknowledgments

Work in this toolkit was financially supported by the Pattern Recognition and Human Language Technology (PRHLT) Research Center.

Citation

  • Article describing the latest contributions to PyLaia
@inproceedings{pylaia2024,
    author = "Tarride, Solène and Schneider, Yoann and Generali, Marie and Boillet, Melodie and Abadie, Bastien and Kermorvant, Christopher",
    title = "Improving Automatic Text Recognition with Language Models in the PyLaia Open-Source Library",
    booktitle = "Submitted at ICDAR",
    year = "2024"
}
  • Original article
@inproceedings{laia2017,
  author={Puigcerver, Joan},
  booktitle={2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR)},
  title={Are Multidimensional Recurrent Layers Really Necessary for Handwritten Text Recognition?},
  year={2017},
  volume={01},
  number={},
  pages={67-72},
  doi={10.1109/ICDAR.2017.20}}
  • GitLab repository
@software{pylaia-teklia,
  author = {Teklia},
  title = {PyLaia},
  year = {2022},
  url = {https://gitlab.teklia.com/atr/pylaia/},
  version = {1.1.0},
  note = {commit SHA}
}
  • GitHub repository
@misc{puigcerver2018pylaia,
  author = {Joan Puigcerver and Carlos Mocholí},
  title = {PyLaia},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/jpuigcerver/PyLaia/}},
  commit = {commit SHA}
}

Contact

🆘 Have a question about PyLaia? Please contact us on support.teklia.com.

Metadata

Release files for pylaia 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylaia 1.1.2
File Size Uploaded
pylaia-1.1.2.tar.gz 66.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylaia 1.1.2
File Interpreter ABI Platform
pylaia-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 160.3 kB

Release files / pylaia-1.1.2.tar.gz

Download URL pylaia-1.1.2.tar.gz
Size 66.8 kB
Tags Source
SHA-256 checksum
How to use checksums
873fabd7f382ce7d267cc8af2e0f1848ab6f3382eb2c7e5a0fbfa8c0f576b95a
BLAKE2b-256 checksum
How to use checksums
51b747f07f442c9bd651cef7d36b382cd26856e567e1ab724cd2fe53e5ae0e40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / pylaia-1.1.2-py3-none-any.whl

Download URL pylaia-1.1.2-py3-none-any.whl
Size 93.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b894d3a84a8636b58cbd8b5a1e08024b77f3de42fc2a81e772e4710c734399b
BLAKE2b-256 checksum
How to use checksums
36d24d2ecc9677eddef508ef4a1671fbcfd1459f904600e8be0edac712d2f7f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page