Sha256: b0367d163a8c4f7fb7ecae3791096b51f658415161af6837c4d70dc9b0cbd9da
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true require_relative "lib/jp_translator_from_gpt" if ARGV.empty? puts "引数が必要です: ruby example.rb \"text\"" exit end text = ARGV.join(" ") translator = JpTranslatorFromGpt::Translator.new(output_logs: false, except_words: ["hoge"]) translator.translate_to_jp(text)
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jp_translator_from_gpt-1.0.3 | example.rb |
jp-translator-from-gpt-1.0.2 | example.rb |