<commit_before>class Spanish {
  conjugate(word,info){

    let ending = word.slice(word.length-2,word.length);
    const NOUN_ERROR = 'Please input yo, tû, Ud., él, or ella for the noun';

    switch (info.noun){
      case 'yo':
        return word.slice(0,-2) + 'o'
      default:
        throw new Error(NOUN_ERROR);
    }
  }
}

export { Spanish };<commit_msg>Add spanish version of conjugation<commit_after>class Spanish {
  conjugate (word, info) {
    const NOUN_ERROR = 'Please input yo, tû, Ud., él, or ella for the noun';

    switch (info.noun) {
      case 'yo':
        return `${word.slice(0, -2)}o`;
      default:
        throw new Error(NOUN_ERROR);
    }
  }
}

export { Spanish };
{'fraction_non_alphanumeric': 0.13714285714285715, 'fraction_numerical': 0.007142857142857143, 'mean_word_length': 2.6321243523316062, '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': '6460707', 'n_tokens_mistral': 249, 'n_tokens_neox': 240, 'n_words': 67}