rhunspell

Get Version

0.0.1

What

Simplest Ruby binding for Hunspell spelling checking library

Installing

curl -O http://nchc.dl.sourceforge.net/sourceforge/hunspell/hunspell-1.2.7.tar.gz
 tar -zxvf hunspell-1.2.7.tar.gz
 cd hunspell-1.2.7
 ./configure
 make
 sudo make install

sudo gem install RubyInline

sudo gem install rhunspell

Demonstration of usage

require 'rhunspell'

dict = Hunspell.new("names.aff", "names.dic")

dict.check("acetech") # => true
dict.check("abcxyz")  # => false

dict.suggest("azetach") # => "acetech"

License

This code is free to use under the terms of the MIT license.

Contact

Comments are welcome. Send an email to Tien Dung

Tien Dung, 6th September 2008
Theme extended from Paul Battley