question: public void processUtterance ( Utterance utterance ) throws ProcessException { if ( utterance . getRelation ( Relation . SEGMENT ) == null ) { throw new IllegalStateException ( "DiphoneUnitSelector: Segment relation does not exist" ) ; } utterance . setObject ( SampleInfo . UTT_NAME , diphoneDatabase . getSampleInfo ( ) ) ; createUnitRelation ( utterance ) ; }
target:  Generates the Unit Relation from the Segment Relation.