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 hashes)
Built Distribution
armcor-0.2-py3-none-any.whl
(16.6 kB
view hashes)