Downloads · 30 days
0
pszemraj/neuspell-subwordbert-probwordnoise
neuspell-subwordbert-probwordnoise is a machine learning model from pszemraj. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
towards a reliable workaround for the neuspell lib being broken
Downloads · 30 days
0
Access
Public
Updated Dec 29, 2025
Parameters
185M
3.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.tar2.2 GB · 60%
How the weights are stored.
F32185M · 100%
From the Hugging Face model README
towards a reliable workaround for the
neuspelllib being broken
See the github repository for usage and all official information.
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