Git Product home page Git Product logo

django-spellcheckutils's Introduction

A spellchecker for Django

Django-spellcheckutils aims to provide some useful utils for spellchecking text in django applications.

Currently it implements the following bits:

  • a simple template filter (named spellcheck) to highlight misspelled words

Planned:

  • a form-field which can validate input by checking for spelling errors
  • some utils to update/manipulate the users wordlist

Settings

There is one optional Django Settings variable:

  • ASPELL_HOME_DIR : You may set this to a path where the python code has read/write access. This is a workaround for some problems with mod_python. You need it, if you encounter an error like this one:

    *** glibc detected *** double free or corruption (out): 0x0000000000a8f790 ***
    

    This may happen, if for some reason aspell thinks it's home-dir setting points to /root and the current user cannot read/write this directory.

Known Problems

If you get an error about undefined symbols:

AttributeError: python: undefined symbol: new_aspell_config

or with mod_python:

AttributeError: /usr/sbin/apache2: undefined symbol: new_aspell_config

Please have a detailed look at the INSTALL document and install the aspell-python C-Extension for interfacing with aspell. The ctypes binding pyaspell seems to habe some problems on some systems.

django-spellcheckutils's People

Contributors

arneb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.