# File in_memory_dictionary_handler.rb, line 74 def self.load_stems_marshaled_dictionary if File.exists?( File.dirname(__FILE__) + '/../dictionaries/marshal_stems' ) File.open( File.dirname(__FILE__) + '/../dictionaries/marshal_stems') do |f| @@stems = Marshal.load(f) end puts("#{@@stems.length} entries totalizing") else reload_stems_dictionary end end