Programming exercise to develop a spelling corrector in Ruby.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README.textile
benchmark.rb

README.textile

Using an analysis of spelling correctors by Peter Norvig as a code exercise in Ruby.


Benchmarking

user system total real
#correct? marshaled dictionary 0.010000 0.000000 0.010000 ( 0.009694)
#correct? ebook dictionary 0.280000 0.020000 0.300000 ( 0.315953)
#alternatives 0.010000 0.000000 0.010000 ( 0.011474)

Other Resources

Wikipedia: Spell Checker