A Fast SymSpell port for python written in C++ using pybind11.
Project description
SymSpellCppPy
A Fast SymSpell v6.5 port for python written in C++ using pybind11.
Installation
pip install SymSpellCppPy
Documentation
Benchmark Results
pip install pytest pytest-benchmark symspellpy SymSpellCppPy
pytest benchmark.py --benchmark-compare
Development
git clone git@github.com:viig99/SymSpellCppPy.git
cd SymSpellCppPy
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
Testing
Python Bindings
Build
python3 setup.py build
Test
Python tests
python3 setup.py test
C++ tests
For detailed list of command line test flags please refer to Catch 2 Docs
cd build
./Catch2Test -s
Acknowledgements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SymSpellCppPy-0.0.8.tar.gz
(878.7 kB
view details)
File details
Details for the file SymSpellCppPy-0.0.8.tar.gz
.
File metadata
- Download URL: SymSpellCppPy-0.0.8.tar.gz
- Upload date:
- Size: 878.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0687e29e101504b814a769e823361226b6a279b463ada02ebc8393925b05d270 |
|
MD5 | f8566eb0b9d023566debbf6d5c34715d |
|
BLAKE2b-256 | dfeef3e42f74c22461dfcdb7bad0d23c66250691d0c4a340e039e4570ac4fafe |