Skip to main content

A sparv plugin for computing suggested OCR improvements.

Project description

sparv-sbx-ocr-correction

PyPI version PyPI - Python Version PyPI - Downloads

Maturity badge - level 2 Stage

CI(release)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2.tar.gz.

File metadata

File hashes

Hashes for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f76a2d9c166c3b60a73e48084ff9ffb57d37d547dea75d76de08e0227dc2cb57
MD5 e969555352eca75b7dbb935de9da44af
BLAKE2b-256 94dc6a8ecddd2146702e554a1aaeb1a245f89dabb9938c5112f53401d7a69087

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2.tar.gz:

Publisher: release-viklofg-sweocr.yml on spraakbanken/sparv-sbx-ocr-correction

Attestations:

File details

Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d62e35d3e3f521652a4c4b3c147e6d6e9397b30481ee4c9c9b7b96ba0088bb1
MD5 da5aa6f8100ba881c32e981130d52e0e
BLAKE2b-256 b24e37c06a5892bfd9656a043bf9a21113de176f95958fe4d1ef199393e50fb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.2-py3-none-any.whl:

Publisher: release-viklofg-sweocr.yml on spraakbanken/sparv-sbx-ocr-correction

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page