metadata
languages: en
license: apache-2.0
tags:
- neuspell
- spelling
- spell-correction
neuspell-scrnn-probwordnoise
towards a reliable workaround for the
neuspell
lib being broken.
See the github repository for usage and all official information.
usage
clone this model repo with git:
sudo apt-get install git-lfs -q
git clone https://huggingface.co/pszemraj/neuspell-scrnn-probwordnoise
install neuspell:
pip install -U neuspell -q
use in python for spell correction:
from neuspell import SclstmChecker
checker = SclstmChecker()
checker.from_pretrained("./neuspell-scrnn-probwordnoise/")
checker.correct("I luk foward to receving your reply") # correct a string
checker.correct_strings(
["I luk foward to receving your reply", "were did wendigo goe boating?"]
) # correct a list of strings