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 installcall.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1.tar.gz.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d3f5ca195b5580e1a09847c0e9ce2b55a3783f32db072b28a1a4182dfb68c72
|
|
| MD5 |
5b33fe748ad94f8ae2c87ecd3f27e182
|
|
| BLAKE2b-256 |
b4dd71464ec296f8f4cb7d9a765e97bb2c1267b5328ec68c4178d1c3e272a54b
|
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1.tar.gz:
Publisher:
release-viklofg-sweocr.yml on spraakbanken/sparv-sbx-ocr-correction
-
Statement:
-
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.5.1.tar.gz -
Subject digest:
9d3f5ca195b5580e1a09847c0e9ce2b55a3783f32db072b28a1a4182dfb68c72 - Sigstore transparency entry: 151345152
- Sigstore integration time:
-
Permalink:
spraakbanken/sparv-sbx-ocr-correction@bde01c77f0037dbe984b70e1c3630b18c880fdba -
Branch / Tag:
refs/tags/ocr-correction-viklofg-sweocr-v0.5.1 - Owner: https://github.com/spraakbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-viklofg-sweocr.yml@bde01c77f0037dbe984b70e1c3630b18c880fdba -
Trigger Event:
push
-
Statement type:
File details
Details for the file sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1-py3-none-any.whl.
File metadata
- Download URL: sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1-py3-none-any.whl
- Upload date:
- Size: 7.0 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 |
b43a4eb8fb02687dcffd387ab66c6b15ebd9d494e7fe5a8448139b7a3c140eb0
|
|
| MD5 |
fab4a29c089b36fe69455100b48e1af7
|
|
| BLAKE2b-256 |
c48a4c154cd182b7b721fbc297cfeb9e28aad8cba9273f17e20c260dd000b502
|
Provenance
The following attestation bundles were made for sparv_sbx_ocr_correction_viklofg_sweocr-0.5.1-py3-none-any.whl:
Publisher:
release-viklofg-sweocr.yml on spraakbanken/sparv-sbx-ocr-correction
-
Statement:
-
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.5.1-py3-none-any.whl -
Subject digest:
b43a4eb8fb02687dcffd387ab66c6b15ebd9d494e7fe5a8448139b7a3c140eb0 - Sigstore transparency entry: 151345154
- Sigstore integration time:
-
Permalink:
spraakbanken/sparv-sbx-ocr-correction@bde01c77f0037dbe984b70e1c3630b18c880fdba -
Branch / Tag:
refs/tags/ocr-correction-viklofg-sweocr-v0.5.1 - Owner: https://github.com/spraakbanken
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-viklofg-sweocr.yml@bde01c77f0037dbe984b70e1c3630b18c880fdba -
Trigger Event:
push
-
Statement type: