Skip to content

lorncheung/spellchk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

   _____            ____      __    __       
  / ___/____  ___  / / /_____/ /_  / /_______
  \__ \/ __ \/ _ \/ / // ___/ __ \/ //_/ ___/
 ___/ / /_/ /  __/ / // /__/ / / / ,< / /    
/____/ .___/\___/_/_/ \___/_/ /_/_/|_/_/     v2
    /_/         
	by Loren Cheung (lccheung@gmail.com)

== Spellchkr v2

Ruby program that reads words from a prompt and prints either the best spelling suggestion or "NO SUGGESTION" if no suggestion can be found.   New version utilizes a prefix trie structure for faster lookup.  

== Requirements 

Ruby 1.8.x+ 
/usr/bin/ruby

== Files  

  README
  spell_checker.rb
  generate_words.rb 
  lib/String.rb
  lib/Dictionary.rb
  lib/Trie.rb

== Usage 

  ./spell_checker.rb 
  ./generate_words.rb | ./spell_check.rb

Type <ctrl-d> or <ctrl-x> to quit spellchkr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages