Class: Keywords
- Inherits:
-
Object
- Object
- Keywords
- Defined in:
- lib/artemo/keywords.rb
Overview
Note:
This class create database of keywords
Returns of keywords.
Class Method Summary collapse
Class Method Details
.call ⇒ Object
Note:
This method is loading database of emotions (source: saifmohammad.com) in binary format.
8 9 10 11 12 |
# File 'lib/artemo/keywords.rb', line 8 def self.call include = File.('../../../include/database.db', __FILE__) f = File.open(include, "rb") Marshal.load(f) end |