stuff I had to change to get the bot working
This commit is contained in:
parent
854f4351ee
commit
a885d5fe22
3 changed files with 16 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue