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

Version Path
otherinbox-classifier-1.3.1.1 lib/classifier/extensions/string.rb
otherinbox-classifier-1.3.1.2.20121218.2 lib/classifier/extensions/string.rb
otherinbox-classifier-1.3.1.2.20121218 lib/classifier/extensions/string.rb
classifier-1.3.2 lib/classifier/extensions/string.rb
secobarbital-classifier-1.3.1.1 lib/classifier/extensions/string.rb
classifier-1.3.1 lib/classifier/extensions/string.rb