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.5.0.tar.gz.

File metadata

File hashes

Hashes for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d5cce7bde872dc3e325bc66a55751f1d579c9a6ee1afa7280dd43f1477b826dd
MD5 7d30eae307e946dd5ed9a3a005e83f75
BLAKE2b-256 d567e09e22bf680c5bafc6979e9961568b6641c3236737bd4e59197133a7caf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.0.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.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d44cbd45bcf867c33a8def41f9c4ee45ede1bc2eb2cd28f74166a7d5d4284cd1
MD5 cad192a84672024c4f4f77668860e54f
BLAKE2b-256 4112b8e885dbee33e26cfefa6f347966491a16ab3e3af9ddb9acd78daee0ba2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.0-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