stuff I had to change to get the bot working

This commit is contained in:
Joshua Charles Campbell 2015-06-04 10:46:01 -06:00
parent 854f4351ee
commit a885d5fe22
3 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,7 @@
# encoding: utf-8
require 'fast-stemmer'
require 'highscore'
require 'htmlentities'
module Ebooks
module NLP
@ -42,7 +43,6 @@ module Ebooks
# Lazily load HTML entity decoder
# @return [HTMLEntities]
def self.htmlentities
require 'htmlentities'
@htmlentities ||= HTMLEntities.new
end