<commit_before>package cscie99.team2.lingolearn.server.confuser;

import java.util.List;

import cscie99.team2.lingolearn.shared.Card;

/**
 * This class encapsulates a means of getting characters that are similar to 
 * a given example for the purposes of confusing humans.
 */
public class Confuser {
  /**
   * Get a list of kanji phrases that are similar to the one that has been
   * provided. In the event that no kanji confusers for the given card then
   * null will be returned, otherwise, confusers up to the provided count 
   * will be provided.
   */
  public List<String> getKanjiSubsitution(Card card, int count) {
    // Get the confusers for Japanese
    
    // Break the card's kanji phrase appart so we have mulitple options
    
    // Iterate through the families until we find the correct one
    
      // We have a match, note the family
      
    // If we don't have any families identified, return null
    
    // Try to find a confuser based upon each family provided
    
    // Return the confusers
    return null;
  }
  
  /**
   * Get a list of kanji phrases that have the hiragana extended off the
   * kanji where appropriate.
   */
  public List<String> getKanjiBoundries(Card) {
    return null;
  }
  
  /**
   * Get a list of hiragana phrase confusers that are similar to the one
   * that has been provided.
   */
  public List<String> getHiraganaPhrases(String phrase) {
    return null;
  }
  
  /**
   * Get a list of katakana phrase confusers that are similar to the one
   * that has been provided.
   */
  public List<String> getKatakanaPhrases(String phrase) {
    return null;
  }
}
<commit_msg>Update Confuser.java<commit_after>package cscie99.team2.lingolearn.server.confuser;

import java.util.List;

import cscie99.team2.lingolearn.shared.Card;

/**
 * This class encapsulates a means of getting characters that are similar to 
 * a given example for the purposes of confusing humans.
 */
public class Confuser {
  /**
   * Get a list of kanji phrases that are similar to the one that has been
   * provided. In the event that no kanji confusers for the given card then
   * null will be returned, otherwise, confusers up to the provided count 
   * will be provided.
   */
  public List<String> getKanjiSubsitution(Card card, int count) {
    // Get the confusers for Japanese
    
    // Break the card's kanji phrase appart so we have mulitple options
    
    // Iterate through the families until we find the correct one
    
      // We have a match, note the family
      
    // If we don't have any families identified, return null
    
    // Try to find a confuser based upon each family provided
    
    // Return the confusers
    return null;
  }
  
  /**
   * Get a list of kanji phrases that have the hiragana extended off the
   * kanji where appropriate.
   */
  public List<String> getKanjiBoundries(Card card) {
    return null;
  }
  
  /**
   * Get a list of hiragana phrase confusers that are similar to the one
   * that has been provided.
   */
  public List<String> getHiraganaPhrases(String phrase) {
    return null;
  }
  
  /**
   * Get a list of katakana phrase confusers that are similar to the one
   * that has been provided.
   */
  public List<String> getKatakanaPhrases(String phrase) {
    return null;
  }
}

{'fraction_non_alphanumeric': 0.06465769455822118, 'fraction_numerical': 0.003510825043885313, 'mean_word_length': 2.4053784860557768, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1369598', 'n_tokens_mistral': 1030, 'n_tokens_neox': 970, 'n_words': 406}