public static Vector<String> processVoiceExampleText(String text){
  StringTokenizer st=new StringTokenizer(text,"#");
  Vector<String> sentences=null;
  while (st.hasMoreTokens()) {
    if (sentences == null)     sentences=new Vector<String>();
    sentences.add(st.nextToken());
  }
  return sentences;
}

public static Vector < String > processVoiceExampleText ( String text ) { StringTokenizer st = new StringTokenizer ( text , "#" ) ; Vector < String > sentences = null ; while ( st . hasMoreTokens ( ) ) { if ( sentences == null ) sentences = new Vector < String > ( ) ; sentences . add ( st . nextToken ( ) ) ; } return sentences ; }
divides the example text of a voice into sentences in a vector
