A Fast SymSpell v6.5 port for python written in C++ using pybind11.
pip install --upgrade SymSpellCppPy
- Check examples for provided usage.
- Check api docs for detailed API documentation.
- Check
tests/SymSpellCppPyTest.py
for extended api usage.
Run on AMD 5900x
pip install pytest pytest-benchmark symspellpy SymSpellCppPy
pytest benchmark.py --benchmark-compare
git clone git@github.com:viig99/SymSpellCppPy.git
cd SymSpellCppPy
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
python3 setup.py build
python3 setup.py test
For detailed list of command line test flags please refer to Catch 2 Docs
cd build
./Catch2Test -s