ocr-postcorrection-lm Code to try out ocr postcorrection with language models venv setup pip3.9 install -r requirements.txt In case you get an unexpected "disk quota exceeded error", you can try : export TMPDIR=path/to/tmp/dir