ps_seg_t * ps_nbest_seg(ps_nbest_t *nbest, int32 *out_score) { if (nbest->top == NULL) return NULL; if (out_score) *out_score = nbest->top->score; return ps_astar_seg_iter(nbest, nbest->top, 1.0); }
ps_seg_t * ps_nbest_seg(ps_nbest_t *nbest) { if (nbest->top == NULL) return NULL; return ps_astar_seg_iter(nbest, nbest->top, 1.0); }