Sparv plugin to annotate corrections to OCR:ed documents.
[!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-sweocror if you have sparv installed with pipx:
pipx inject sparv-pipeline sparv-sbx-ocr-correction-viklofg-sweocr| Type | HuggingFace Model | Revision |
|---|---|---|
| Model | viklofg/swedish-ocr-correction |
84b138048992271be7617ccb11056bbcb9b72262 |
| Tokenizer | google/byt5-small |
68377bdc18a2ffec8a0533fef03b1c513a4dd49d |
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
This project keeps a changelog.
[!NOTE] You might need to prepend
export CFLAGS="-Wno-error=incompatible-pointer-types" ; export CXXFLAGS="-Wno-error=incompatible-pointer-types" ;to themake devormake installcalls.