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.1.tar.gz
.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.4.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5279f8dba8418bd722fe64e6432df86a76f38b4d7bb82738941c75f32b2660 |
|
MD5 | 24b07325539b062b071520a58de93e8c |
|
BLAKE2b-256 | db72c55edac6797e022435f8d632fdc9fd0595d80f476335182ac46cf735b4c5 |
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.1.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.1.tar.gz
- Subject digest:
ae5279f8dba8418bd722fe64e6432df86a76f38b4d7bb82738941c75f32b2660
- Sigstore transparency entry: 150170590
- Sigstore integration time:
- Predicate type:
File details
Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.4.1-py3-none-any.whl
- Upload date:
- Size: 6.8 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 | 790659f6ae70e79a3f5123ff046a6cbf5e90dea860d1c4a2b1bd70b008f3e658 |
|
MD5 | 0480a01d7ed6151041806a370491914f |
|
BLAKE2b-256 | de437268db842d203ccacaf459d267187ee0d8d3fdd7b1e90436665e2edf51ae |
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.4.1-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.1-py3-none-any.whl
- Subject digest:
790659f6ae70e79a3f5123ff046a6cbf5e90dea860d1c4a2b1bd70b008f3e658
- Sigstore transparency entry: 150170592
- Sigstore integration time:
- Predicate type: