public String syllabify(String phoneString){
  LinkedList<String> phoneList=splitIntoAllophones(phoneString);
  syllabify(phoneList);
  StringBuilder sb=new StringBuilder();
  for (  String p : phoneList) {
    if (sb.length() > 0)     sb.append(" ");
    sb.append(p);
  }
  return sb.toString();
}

public String syllabify ( String phoneString ) { LinkedList < String > phoneList = splitIntoAllophones ( phoneString ) ; syllabify ( phoneList ) ; StringBuilder sb = new StringBuilder ( ) ; for ( String p : phoneList ) { if ( sb . length ( ) > 0 ) sb . append ( " " ) ; sb . append ( p ) ; } return sb . toString ( ) ; }
syllabify a phonetic string , marking syllable boundaries with dash characters in the output . if the input marks stressed vowels with a suffix " 1 " , these marks are removed , and single quotes ( ' ) are inserted at the beginning of the corresponding syllable .
