class Keywords

@note This class create database of keywords @return [Array] of keywords

Public Class Methods

call() click to toggle source

@note This method is loading database of emotions (source: saifmohammad.com)

in binary format.
# File lib/artemo/keywords.rb, line 8
def self.call
  include = File.expand_path('../../../include/database.db', __FILE__)
  f = File.open(include, "rb")
  Marshal.load(f)
end