spck

command module
v0.0.0-...-8c8dd33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2020 License: BSD-2-Clause Imports: 5 Imported by: 0

README

spck - spell check
==================

spck is a very simple spell checker with an overly complex project
wrapped around it.  The original spell checker was the first program
I wrote in go.  I then expanded it to learn more about go tooling.
It split out from a single spell.go file to to multiple packages and
a go.mod to play around with the system.

usage
-----

spck [-d depth] [-f file] word...

spck is a rudementary spell checker/suggester.  For words that
do not exist in the provided lexicon it will search using common
typo/misspelling transformations (replace, remove, transpose, insert)
up to the provided depth for a word that does exist in the file.

  -d int
        max depth to search (default 2)
  -f string
        dictionary file to use (default "/usr/share/dict/words")

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
package spell implements a rudementary spelling checker/suggester.
package spell implements a rudementary spelling checker/suggester.
package trie provides a trie implementation for representing words as a sequence of runes.
package trie provides a trie implementation for representing words as a sequence of runes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL