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

Installation

pip install SymSpellCppPy

Usage

Examples

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

For detailed list of command line test flags please refer to Catch 2 Docs

cd build
./Catch2Test -s

Python Bindings

Building

python3 setup.py build

Testing

python3 setup.py test

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.6.tar.gz (648.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: SymSpellCppPy-0.0.6.tar.gz
  • Upload date:
  • Size: 648.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

Hashes for SymSpellCppPy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1b99006129f2d94258eec514b945285a07f360f27cbc25359371bdf80ca5bf5b
MD5 8677d0e35fa5b385e8276ea29b2d6030
BLAKE2b-256 f4b782ff82c5a19f037e869fdb9319a7cafff7236e047ebf9ca6b73267d5a90d

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