question: public List < StructuredTranslation > KbestExtractOnHG ( HyperGraph hg , int topN ) { resetState ( ) ; if ( hg == null || hg . goalNode == null ) { return emptyList ( ) ; } final List < StructuredTranslation > kbest = new ArrayList < > ( topN ) ; for ( int k = 1 ; k <= topN ; k ++ ) { StructuredTranslation translation = getKthStructuredTranslation ( hg . goalNode , k ) ; if ( translation == null ) { break ; } kbest . add ( translation ) ; } return kbest ; }
target:  This is an entry point for extracting k-best hypotheses as StructuredTranslation objects. It computes all of them and returning a list of StructuredTranslation objects. These objects hold all translation information (string, tokens, features, alignments, score).