neuspell-subwordbert-probwordnoise
towards a reliable workaround for the
neuspelllib 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-subwordbert-probwordnoise
Install neuspell from pypi:
pip install -U neuspell -q
Use in python for spell correction:
from neuspell import BertChecker
checker = BertChecker()
checker.from_pretrained("./neuspell-subwordbert-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
	Inference Providers
	NEW
	
	
	This model isn't deployed by any Inference Provider.
	🙋
			
		Ask for provider support