A sparv plugin for computing suggested OCR improvements.
Project description
sparv-sbx-ocr-correction
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 thepip 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
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.
Source Distribution
Built Distribution
File details
Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0.tar.gz
.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6ab41331896baf45d03518c338df29f3e719523c6fee8eed4aa3310bfd4e4d7 |
|
MD5 | 47426c5c0ff3ac4f2882815987bece09 |
|
BLAKE2b-256 | caaf58daaacf922f7f5ad78d0e34ba0b7b72ead29a8b35a2941d13326f383aaf |
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0.tar.gz
:
Publisher:
release-viklofg-sweocr.yml
on spraakbanken/sparv-sbx-ocr-correction
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0.tar.gz
- Subject digest:
f6ab41331896baf45d03518c338df29f3e719523c6fee8eed4aa3310bfd4e4d7
- Sigstore transparency entry: 150141448
- Sigstore integration time:
- Predicate type:
File details
Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee56672014eedfc8b9938f1c6c786750eb3c9c5a0adda6de49a6344d81006cf |
|
MD5 | a97ee623735c97b7b42bfece8c2e296e |
|
BLAKE2b-256 | 47059a624f02c10ce3e12c76b84f30a7c0c7db249c1aecce7aa341b1027c6adb |
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0-py3-none-any.whl
:
Publisher:
release-viklofg-sweocr.yml
on spraakbanken/sparv-sbx-ocr-correction
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sparv_sbx_ocr_correction_viklofg_sweocr-0.4.0-py3-none-any.whl
- Subject digest:
bee56672014eedfc8b9938f1c6c786750eb3c9c5a0adda6de49a6344d81006cf
- Sigstore transparency entry: 150141449
- Sigstore integration time:
- Predicate type: