Coder Social home page Coder Social logo

bspell's Introduction

Description

A simple spell checking app in python.

Installation

This part is a bit rough. These parts should be automated but they are not.

pyenv virtualenv 3.12.0 bspell-3.12.0
pyenv local bspell-3.12.0
pip install -r requirements.txt

Usage

  1. Traverse to a directory
  2. Invoke the application from the command line
$ ./bspell.py

You will be prompted for actions to apply to misspelled words it finds (i.e. words not in its dictionary). Possible responses are:

  1. y: Replace the misspelled word

You will be prompted for the change.

  1. n: Do not replace the misspelled word

  2. a: Add the misspelled word to the in-memory dictionary

Unfortunately, this is only temporary.

  1. s: Do not check any more words in the file

Dictionary

The dictionary is taken from the standard location on a Mac. If that is no good for you, override the location and file name with the command line option.

Help

Usage: bspell.py [OPTIONS]

  Traverse down directory tree, opening all files, looking for words that do
  not appear in the dictionary.

Options:
  -d, --dict_filename TEXT
  --help                    Show this message and exit.

bspell's People

Contributors

hughdbrown avatar

Watchers

 avatar  avatar

bspell's Issues

doesn't is checked as doesn

---------- running_your_first_container.md line 11
Great, we have Docker up and running on our system, let's go ahead and use it to run an Ubuntu container on our computer. It doesn't matter what computer we're running, we can run
Ubuntu on it!
Replace doesn? y/n/s/a

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.