Sha256: 453b6d7c2237b717831817c362d38d0ab9ad0959cfa1c594a5dd73888000d3bc
Contents?: true
Size: 405 Bytes
Versions: 6
Compression:
Stored size: 405 Bytes
Contents
# Author:: Lucas Carlson (mailto:lucas@rufy.com) # Copyright:: Copyright (c) 2005 Lucas Carlson # License:: LGPL begin require 'stemmer' rescue LoadError puts "Please install stemmer from http://rubyforge.org/projects/stemmer or 'gem install stemmer'" exit(-1) end require 'classifier/extensions/word_hash' class Object def prepare_category_name; to_s.gsub("_"," ").capitalize.intern end end
Version data entries
6 entries across 6 versions & 3 rubygems