<commit_before>#encoding: UTF-8
module Termit
  class OutputManager
    def display_error_info
      puts "TERMIT: Wrong data. Example: 'termit en es the cowboy ' => 'el vaquero"
    end

    def display_help
      puts    <<-EOS
=========TERMIT=========
Usage:
termit 'source_language' 'target_language' 'text'

Example:
termit en fr 'hey cowboy where is your horse?'
=> 'hey cow-boy ou est votre cheval?'

Options:
-t - speech synthesis
-s - synonyms list

Check docs at: github.com/pawurb/termit
EOS
    end

    def display_version
      puts "Termit #{Termit::VERSION}"
    end

    def display_translation text
      print "=> "<commit_msg>fix typo<commit_after>#encoding: UTF-8
module Termit
  class OutputManager
    def display_error_info
      puts "TERMIT: Wrong data. Example: 'termit en es the cowboy ' => 'el vaquero'"
    end

    def display_help
      puts    <<-EOS
=========TERMIT=========
Usage:
termit 'source_language' 'target_language' 'text'

Example:
termit en fr 'hey cowboy where is your horse?'
=> 'hey cow-boy ou est votre cheval?'

Options:
-t - speech synthesis
-s - synonyms list

Check docs at: github.com/pawurb/termit
EOS
    end

    def display_version
      puts "Termit #{Termit::VERSION}"
    end

    def display_translation text
      print "=> "
{'fraction_non_alphanumeric': 0.11568322981366459, 'fraction_numerical': 0.0015527950310559005, 'mean_word_length': 3.2682119205298013, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6484195', 'n_tokens_mistral': 438, 'n_tokens_neox': 417, 'n_words': 141}