GithubHelp home page GithubHelp logo

online-spellchecker-py's Introduction

W3c Spell Checker

Share and Enjoy. Open Source license: Copyright (c) 2001-2005 W3C (MIT, ERCIM, Keio) http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231

Creator: Dominique Hazaël-Massieux [email protected] Package compiled by: Patrick Shirkey [email protected]

Decription:

This tool allows you to check the spelling of a web page. It currently only supports English and French.

Depends:

aspell python lynx

Install instructions:

Copy the spellchecker and http_auth scripts to your apache cgi-bin folder.

Usually this is located in:

/var/www/cgi-bin

chmod a+rx spellchecker http_auth.py

Edit the "languages" line to include the aspell dictionaries you want to use. On most distributions the dictionaries are located in

/usr/lib/aspell

Edit the forms "action" link in the spellchecker script to direct it to the scripts location on your local server.

/cgi-bin/spellchecker

Notes:

Since http_auth.py is imported from the CGI script, it needs to be in the path in which python will be looking for imported modules; you have thus several options:

  • put it in the same directory as the CGI script itself
  • put it in one of the default python modules directories (e.g. in Debian /usr/lib/python2.3/site-packages)
  • edit the CGI script to add manually the directory in which python should be looking for, with a line à la: sys.path.insert(0, "/path/to/my/directory")

Note that you'll need this only if you indeed intend to use it on HTTP-protected resources; if not, you could remove the module for good by replacing the following 2 lines:

import http_auth url_opener = http_auth.ProxyAuthURLopener()

by

import urllib url_opener = urllib.FancyURLopener

online-spellchecker-py's People

Contributors

dontcallmedom 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.