<commit_before>var cmd = require('child_process');

module.exports =
{
  ////////////////
  /// TO WOFF ////
  ////////////////
  // woff1_compress = sfnt2woff // 


  otf_to_woff: function(filePath){
    cmd.spawnSync('./convertors/woff1/woff1_compress', [filePath]);
  },

  ttf_to_woff: function(filePath){
    cmd.spawnSync('./convertors/woff1/woff1_compress', [filePath]);
  },


  /////////////////
  /// TO WOFF2 ////
  /////////////////


  otf_to_woff2: function(filePath){
    cmd.spawnSync('./convertors/woff2/woff2_compress', [filePath]);
  },

  ttf_to_woff2: function(filePath){
    cmd.spawnSync('./convertors/woff2/woff2_compress', [filePath]);
  },


  /////////////////
  //// TO TTF /////
  /////////////////


  woff2_to_ttf: function(filePath){
    cmd.spawnSync('./convertors/woff2/woff2_decompress', [filePath]);<commit_msg>added a bunch of fucking formats to the motherfucking conversion file<commit_after>var cmd = require('child_process');

module.exports =
{
  ////////////////
  /// TO WOFF ////
  ////////////////

  otf_to_woff: function(file_path){
    cmd.spawnSync('./convertors/woff1/sfnt_to_woff', [file_path]);
  },

  ttf_to_woff: function(file_path){
    cmd.spawnSync('./convertors/woff1/sfnt_to_woff', [file_path]);
  },

  woff2_to_woff: function(file_path){
    cmd.spawnSync('./convertors/woff2/woff2_to_sfnt', [file_path]);
    var temp_file_path = file_path.replace('woff2', 'ttf');
    cmd.spawnSync('./convertors/woff1/sfnt_to_woff', [temp_file_path]);
  },

  /////////////////
  /// TO WOFF2 ////
  /////////////////

  otf_to_woff2: function(file_path){
    cmd.spawnSync('./convertors/woff2/sfnt_to_woff2', [file_path]);
  },

  ttf_to_woff2: function(file_path){
    cmd.spawnSync('./convertors/woff2/sfnt_to_woff2', [file_path]);
  },

  woff_to_woff2: function(file_path){
    var temp_file_path = file_path.replace('woff', 'otf');
    cmd.spawnSync('./convertors/woff1/woff_to_sfnt.py', [file_path, temp_file_path]);
    cmd.spawnSync('./convertors/woff2/sfnt_to_woff2', [temp_file_path]);
  },

  /////////////////
  //// TO TTF /////
  /////////////////

  woff2_to_ttf: function(file_path){
    cmd.spawnSync('./convertors/woff2/woff2_to_sfnt', [file_path]);
  },

  woff_to_ttf: function(file_path){
    var output_file_path = file_path.replace('woff', 'ttf');
    cmd.spawnSync('./convertors/woff1/woff_to_sfnt.py', [file_path, output_file_path]);
  },

  otf_to_ttf: function(file_path){
    cmd.spawnSync('./convertors/fontconvert.py', [file_path, '--ttf']);
  },

  /////////////////
  //// TO OTF /////
  /////////////////

  woff_to_otf: function(file_path){
    var output_file_path = file_path.replace('woff', 'otf');
    cmd.spawnSync('./convertors/woff1/woff_to_sfnt.py', [file_path, output_file_path]);
  },

  woff2_to_otf: function(file_path){
    var temp_file_path = file_path.replace('woff2', 'ttf');
    cmd.spawnSync('./convertors/woff2/woff2_to_sfnt', [file_path]);
    cmd.spawnSync('./convertors/fontconvert.py', [temp_file_path, '--otf']);
  },

  ttf_to_otf: function(file_path){
    cmd.spawnSync('./convertors/fontconvert.py', [file_path, '--otf']);
{'fraction_non_alphanumeric': 0.23842962017235877, 'fraction_numerical': 0.013724864347270986, 'mean_word_length': 2.7443249701314216, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '176490', 'n_tokens_mistral': 1219, 'n_tokens_neox': 1187, 'n_words': 133}