Module: Glove

Defined in:
lib/glove.rb,
lib/glove/model.rb,
lib/glove/corpus.rb,
lib/glove/parser.rb,
lib/glove/version.rb,
lib/glove/workers.rb,
lib/glove/token_pair.rb,
lib/glove/workers/training_worker.rb,
lib/glove/workers/cooccurrence_worker.rb

Defined Under Namespace

Modules: Workers Classes: Corpus, Model, Parser, TokenPair

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.root_pathString

Return the root path of the gem

Returns:

  • (String)

    the full path to the gem



9
10
11
# File 'lib/glove.rb', line 9

def self.root_path
  File.expand_path File.join(File.dirname(__FILE__), '../')
end