Class: Word2vec::Hola

Inherits:
Object
  • Object
show all
Defined in:
lib/word2vec.rb

Overview

Your code goes hereā€¦

Class Method Summary collapse

Class Method Details

.hi(language = "english") ⇒ Object

Say hi to the world!

Example:

>> Hola.hi("spanish")
=> hola mundo

Arguments:

language: (String)


16
17
18
19
# File 'lib/word2vec.rb', line 16

def self.hi(language = "english")
  translator = Translator.new(language)
  puts translator.hi
end