public static void expandNumber(String numberString,WordRelation wordRelation){
  int numDigits=numberString.length();
  if (numDigits == 0) {
  }
 else   if (numDigits == 1) {
    expandDigits(numberString,wordRelation);
  }
 else   if (numDigits == 2) {
    expand2DigitNumber(numberString,wordRelation);
  }
 else   if (numDigits == 3) {
    expand3DigitNumber(numberString,wordRelation);
  }
 else   if (numDigits < 7) {
    expandBelow7DigitNumber(numberString,wordRelation);
  }
 else   if (numDigits < 10) {
    expandBelow10DigitNumber(numberString,wordRelation);
  }
 else   if (numDigits < 13) {
    expandBelow13DigitNumber(numberString,wordRelation);
  }
 else {
    expandDigits(numberString,wordRelation);
  }
}

public static void expandNumber ( String numberString , WordRelation wordRelation ) { int numDigits = numberString . length ( ) ; if ( numDigits == 0 ) { } else if ( numDigits == 1 ) { expandDigits ( numberString , wordRelation ) ; } else if ( numDigits == 2 ) { expand2DigitNumber ( numberString , wordRelation ) ; } else if ( numDigits == 3 ) { expand3DigitNumber ( numberString , wordRelation ) ; } else if ( numDigits < 7 ) { expandBelow7DigitNumber ( numberString , wordRelation ) ; } else if ( numDigits < 10 ) { expandBelow10DigitNumber ( numberString , wordRelation ) ; } else if ( numDigits < 13 ) { expandBelow13DigitNumber ( numberString , wordRelation ) ; } else { expandDigits ( numberString , wordRelation ) ; } }
expands a digit string into a list of english words of those digits . for example , " 1234 " expands to " one two three four "
