Skip to main content

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.

UnitTests Docs Downloads License

Installation

pip install --upgrade SymSpellCppPy

Documentation

  • Check examples for provided usage.
  • Check api docs for detailed API documentation.
  • Check tests/SymSpellCppPyTest.py for extended api usage.

Benchmark Results

pip install pytest pytest-benchmark symspellpy SymSpellCppPy
pytest benchmark.py --benchmark-compare

Benchmark Results

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


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.14.tar.gz (5.4 MB view details)

Uploaded Source

File details

Details for the file SymSpellCppPy-0.0.14.tar.gz.

File metadata

  • Download URL: SymSpellCppPy-0.0.14.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for SymSpellCppPy-0.0.14.tar.gz
Algorithm Hash digest
SHA256 9459a5dfd344be97e70c6e37be62210138a18235c2be6a597c6deb8cc8212005
MD5 1e564367db61bfa4164766f7b7a09203
BLAKE2b-256 280e124d13bb05411da5824a02477bace819b0a7214f0f0b109c8bfe95727060

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page