Sha256: f3b6d13dfbc7a64c4670abe58a118c76c21979cab2e912121feeb9acd3871e7d

Contents?: true

Size: 1.66 KB

Versions: 46

Compression:

Stored size: 1.66 KB

Contents

# Copyright (C) 2007, KURODA Hiraku <hiraku@hinet.mydns.jp>
# You can redistribute it and/or modify it under GPL2.

class SpambayesConfig
	module Res
		module_function
		def title
			"Bayes filter"
		end

		def check_comment
			"Check comments"
		end

		def check_referer
			"Check referers"
		end

		def token_list(type)
			"#{type}-token list"
		end

		def rebuild_db
			"Rebuild database"
		end

		def use_bayes_filter
			"Use Bayes-filter"
		end

		def use_filter_to_referer
			"Use Bayes-filter to referer"
		end

		def save_error_log
			"Save error-log at cache-directory"
		end

		def threshold
			"Threshold"
		end

		def receiver_addr
			"Mail TO"
		end

		def register_ham
			"Register as HAM"
		end

		def register_spam
			"Register as spam"
		end

		def comment_processed
			"Comments processed"
		end

		def token
			"token"
		end

		def probability(type)
			"#{type}-probability"
		end

		def score_in_db(type)
			"score in #{type}-database"
		end

		def execute_after_click_OK
			"Execute if you click OK"
		end

		def registered_as(type)
			"registered as #{type}"
		end

		def rebuild_db_after_click_OK
			"Rebuild database from corpus if you click OK"
		end

		def processed_referer
			"Referer processed"
		end

		def token_of_referer
			"token of referer"
		end

		def mail
			"Mail address"
		end

		def posted_host_addr
			"Host-IP from which comment posted"
		end

		def name
			"Name"
		end

		def referer
			"Referer"
		end

		def url_in_comment
			"URL in comment"
		end

		def comment_body_and_keyword
			"Text in comment and Keyword in search-engine's referer"
		end

		def no_token_exist
			"(No token exists)"
		end

		def spam_rate
			"Rate of spam"
		end
	end
end

Version data entries

46 entries across 40 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 filter/plugin/en/spambayes.rb
tdiary-contrib-5.2.4 filter/plugin/en/spambayes.rb
tdiary-contrib-5.2.3 filter/plugin/en/spambayes.rb
tdiary-contrib-5.2.2 filter/plugin/en/spambayes.rb
tdiary-contrib-5.2.1 filter/plugin/en/spambayes.rb
tdiary-contrib-5.2.0 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.7 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.6 filter/plugin/en/spambayes.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/filter/plugin/en/spambayes.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.5 filter/plugin/en/spambayes.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.4 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.3 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.2 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.1 filter/plugin/en/spambayes.rb
tdiary-contrib-5.1.0 filter/plugin/en/spambayes.rb
tdiary-contrib-5.0.13 filter/plugin/en/spambayes.rb
tdiary-contrib-5.0.12 filter/plugin/en/spambayes.rb
tdiary-contrib-5.0.11 filter/plugin/en/spambayes.rb