def call(word, opts)
      validate_opts!(opts)
      driver = Smartdict::Core::DriverManager.find(opts[:driver])

      translation_model = Models::Translation.find(word, opts[:from_lang], opts[:to_lang], opts[:driver])
      unless translation_model
        translation = driver.translate(word, opts[:from_lang], opts[:to_lang])
        translation_model = Models::Translation.create_from_struct(translation)
      end
      log_query(translation_model) if opts[:log]
      translation_model.to_struct
    end
def call(word, opts)
      validate_opts!(opts)
      driver = Smartdict::Core::DriverManager.find(opts[:driver])

      translation_model = Models::Translation.find(word, opts[:from_lang], opts[:to_lang], opts[:driver])
      unless translation_model
        translation = driver.translate(word, opts[:from_lang], opts[:to_lang])
        translation_model = Models::Translation.create_from_struct(translation)
      end
      log_query(translation_model) if opts[:log]
      translation_model.to_struct
    end
Just to make the interface compatible