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> getKanjiPhrases(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 hiragana phrase confusers that are similar to the one
   * that has been provided.
   */
  public List<String> getHiraganaPhrases(String phrase, int count) {
    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, int count) {
    return null;
  }
}

@@ -589,23 +589,27 @@
 getKanji
-Phrases
+Subsitution
 (Card ca
@@ -1066,32 +1066,227 @@
   %7D%0D%0A  %0D%0A  /**%0D%0A
+   * Get a list of kanji phrases that have the hiragana extended off the%0D%0A   * kanji where appropriate.%0D%0A   */%0D%0A  public List%3CString%3E getKanjiBoundries(Card) %7B%0D%0A    return null;%0D%0A  %7D%0D%0A  %0D%0A  /**%0D%0A
    * Get a list 
@@ -1430,35 +1430,24 @@
 tring phrase
-, int count
 ) %7B%0D%0A    ret
@@ -1576,32 +1576,32 @@
 ovided.%0D%0A   */%0D%0A
+
   public List%3CSt
@@ -1638,27 +1638,16 @@
 g phrase
-, int count
 ) %7B%0D%0A   

Update Confuser.java