Skip to main content

A wrapper on hunspell for use in Python

Project description

Cython wrapper on Hunspell Dictionary

Description

This repository provides a wrapper on Hunspell to be used natively in Python. The module uses cython to link between the C++ and Python code, with some additional features. The hunspell library will cache any corrections, you can use persistent caching by adding the use_disk_cache argument to a Hunspell constructor, otherwise it uses in-memory caching.

NOTE: This repository only works on Unix environments until pthreads can be replicated with an mthread implementaiton.

Dependencies

cacheman – for persistent caching

Features

How to use

Below are some simple examples for how to use the repository.

TODO FILL IN

Language Preferences

  • Google Style Guide

  • Object Oriented (with a few exceptions)

TODO

  • Add mthreads alongside pthreads for bulk operations

  • Fix blocking issues for Windows usage (see above)

Author

Author(s): Tim Rodriguez and Matthew Seal

© Copyright 2014, OpenGov

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

CyHunspell-1.0.1.zip (1.6 MB view hashes)

Uploaded Source

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