<commit_before>#!~/jruby/jruby

#Autor: <NAME>

#Este script faz a conversão para container MASTROSKA e a 
#junção de legenda externa no container MASTROSKA

class Mkvcreator

  def initialize
    # @codec = libx264
    @vin = ARGV[0].to_s
    @vout = ARGV[1].chomp(".mkv").to_s    
  #  avi2mkv
    sub4mkv
  end

#  def avi2mkv
 #   system "mencoder "+ARGV[0].to_s+" -oac copy -ovc copy -o "+@vout.to_s+".mkv"
 # end

  def sub4mkv
    system "mkvmerge -o "+@vout.to_s+" "+@vin.to_s+" --language 0:por "+@vin.to_s+ ".sub"
  end<commit_msg>Corrigindo bug na criação do arquivo resultante<commit_after>#!~/jruby/jruby

#Autor: <NAME>

#Este script faz a conversão para container MASTROSKA e a 
#junção de legenda externa no container MASTROSKA

class Mkvcreator

  def initialize
    # @codec = libx264
    @vin = ARGV[0].to_s
    @vout = ARGV[1].to_s    
  #  avi2mkv
    sub4mkv
  end

 # def avi2mkv
 #   system "mencoder "+ARGV[0].to_s+" -oac copy -ovc copy -o "+@vout.to_s+".mkv"
 # end

  def sub4mkv
    system "mkvmerge -o "+@vout.to_s+" "+@vin.to_s+" --language 0:por "+@vin.chomp(".mkv").to_s+ ".sub"
  end
{'fraction_non_alphanumeric': 0.14516129032258066, 'fraction_numerical': 0.01971326164874552, 'mean_word_length': 3.183520599250936, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5278730', 'n_tokens_mistral': 512, 'n_tokens_neox': 483, 'n_words': 119}