private void digitsSlashDigitsToWords(String tokenVal){
  int index=tokenVal.indexOf('/');
  String aaa=tokenVal.substring(0,index);
  String bbb=tokenVal.substring(index + 1);
  int a, b;
  if (matches(digitsPattern,(String)tokenItem.findFeature("p.name")) && tokenItem.getPrevious() != null) {
    wordRelation.addWord("and");
  }
  if (aaa.equals("1") && bbb.equals("2")) {
    wordRelation.addWord("a");
    wordRelation.addWord("half");
  }
 else   if ((a=Integer.parseInt(aaa)) < (b=Integer.parseInt(bbb))) {
    NumberExpander.expandNumber(aaa,wordRelation);
    NumberExpander.expandOrdinal(bbb,wordRelation);
    if (a > 1) {
      wordRelation.addWord("'s");
    }
  }
 else {
    NumberExpander.expandNumber(aaa,wordRelation);
    wordRelation.addWord("slash");
    NumberExpander.expandNumber(bbb,wordRelation);
  }
}

private void digitsSlashDigitsToWords ( String tokenVal ) { int index = tokenVal . indexOf ( '/' ) ; String aaa = tokenVal . substring ( 0 , index ) ; String bbb = tokenVal . substring ( index + 1 ) ; int a , b ; if ( matches ( digitsPattern , ( String ) tokenItem . findFeature ( "p.name" ) ) && tokenItem . getPrevious ( ) != null ) { wordRelation . addWord ( "and" ) ; } if ( aaa . equals ( "1" ) && bbb . equals ( "2" ) ) { wordRelation . addWord ( "a" ) ; wordRelation . addWord ( "half" ) ; } else if ( ( a = Integer . parseInt ( aaa ) ) < ( b = Integer . parseInt ( bbb ) ) ) { NumberExpander . expandNumber ( aaa , wordRelation ) ; NumberExpander . expandOrdinal ( bbb , wordRelation ) ; if ( a > 1 ) { wordRelation . addWord ( "'s" ) ; } } else { NumberExpander . expandNumber ( aaa , wordRelation ) ; wordRelation . addWord ( "slash" ) ; NumberExpander . expandNumber ( bbb , wordRelation ) ; } }
convert the given digits / digits string into word ( items ) in the wordrelation .
