question: protected LinkedList < String > splitIntoAllophones ( String phoneString ) { LinkedList < String > phoneList = new LinkedList < String > ( ) ; for ( int i = 0 ; i < phoneString . length ( ) ; i ++ ) { String name = null ; for ( int j = 3 ; j >= 1 ; j -- ) { if ( i + j <= phoneString . length ( ) ) { String candidate = phoneString . substring ( i , i + j ) ; if ( getAllophone ( candidate ) != null ) { name = candidate ; i += j - 1 ; break ; } } } if ( name != null ) { phoneList . add ( name ) ; } } return phoneList ; }
target:  Convert a phone string into a list of string representations of individual phones. The input can use the suffix "1" to indicate stressed vowels.