example.rb in hunspell-0.1.4 vs example.rb in hunspell-0.1.5
- old
+ new
@@ -2,10 +2,10 @@
gem "hunspell" # load Hunspell module
require "Hunspell" # inject Hunspell class to Ruby namespace
# instantiate Hunspell with Hungarian affix and dictionary files
#
-sp = Hunspell.new("hu.aff", "hu.dic")
+sp = Hunspell.new("hu_HU.aff", "hu_HU.dic")
# spell check Hungarian word 'ablak' (window) => true
#
puts "Is 'ablak' correct? #{sp.spellcheck('ablak')}"