ArmCor is a Python library for detecting and correcting OCR errors for Armenian texts.
Project description
ArmCor
ArmCor is a Python library for detecting and correcting OCR errors for Armenian texts.
Installation
pip install armcor
Usage
from armcor import ocr
ocr.detect_errors(tokens) # returns list of labels,
# 1 if word contains OCR errors, and 0 otherwise
ocr.correct_errors(tokens, labels) # returns list of corrected words
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
armcor-0.2.tar.gz
(2.1 kB
view details)
Built Distribution
armcor-0.2-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file armcor-0.2.tar.gz
.
File metadata
- Download URL: armcor-0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dab800500b2994ff6fce36733c198553b4396e6e22a9e6682c97901150b9d6f5 |
|
MD5 | 3b0f381ac0a2dc9d0188a7f39881acc6 |
|
BLAKE2b-256 | 19b168721c0490f040a97110f06c4dd8109f790842d24411d06f88992856f277 |
File details
Details for the file armcor-0.2-py3-none-any.whl
.
File metadata
- Download URL: armcor-0.2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e63eb2d84e20ccd644e57310c62e5e59177e7d21473195a5e308e584abe9f175 |
|
MD5 | 39f2bdc2025267bcb0d876abe221d29b |
|
BLAKE2b-256 | 5f16a4d7ca92b9a40c2323957585fa215d761ad1831c10a6de365cdb61e2e987 |