require_relative 'backends/bayes_redis_backend' was removed from bayes.rb because of https://github.com/jekyll/classifier-reborn/pull/146, but having to manually require 'classifier-reborn/backends/bayes_redis_backend' is kind of annoying.
Putting require 'redis' inside BayesRedisBackend#initialize is a solution, but it's kind of gross.
require_relative 'backends/bayes_redis_backend'
was removed from bayes.rb because of https://github.com/jekyll/classifier-reborn/pull/146, but having to manuallyrequire 'classifier-reborn/backends/bayes_redis_backend'
is kind of annoying.Putting
require 'redis'
inside BayesRedisBackend#initialize is a solution, but it's kind of gross.Maybe there is a better one?