Skip to content

spraakbanken/sparv-sbx-ocr-correction-viklofg-sweocr

Repository files navigation

sparv-sbx-ocr-correction-viklofg-sweocr

PyPI version PyPI license PyPI - Python Version

Maturity badge - level 2 Stage

Codecov

CI(check) CI(release) CI(scheduled) CI(test)

Sparv plugin to annotate corrections to OCR:ed documents.

Install

[!NOTE] You might need to prepend export CFLAGS="-Wno-error=incompatible-pointer-types" ; export CXXFLAGS="-Wno-error=incompatible-pointer-types" ; to the pip install call.

In a virtual environment:

pip install sparv-sbx-ocr-correction-viklofg-sweocr

or if you have sparv installed with pipx:

pipx inject sparv-pipeline sparv-sbx-ocr-correction-viklofg-sweocr

Metadata

Model

Type HuggingFace Model Revision
Model viklofg/swedish-ocr-correction 84b138048992271be7617ccb11056bbcb9b72262
Tokenizer google/byt5-small 68377bdc18a2ffec8a0533fef03b1c513a4dd49d

Supported Python versions

This library thrives to support a Python version to End-Of-Life, and will at least bump the minor version when support for a Python version is dropped.

The following versions of this library supports these Python versions:

  • v0.4: Python 3.9
  • v0.3: Python 3.8

Changelog

This project keeps a changelog.

Develop

[!NOTE] You might need to prepend export CFLAGS="-Wno-error=incompatible-pointer-types" ; export CXXFLAGS="-Wno-error=incompatible-pointer-types" ; to the make dev or make install calls.

About

Sparv plugin to annotate suggestions to OCR:ed documents.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •