Then, in Line 13, the function selectTopK selects the top-K candidates from union of a set of generated triplets at current step {h z } K−C z=1 and a set of triplets of complete sentences in Q c .
decoding with our method never generates words that exceed the estimationr, and thus we expect to reduce the redundant repeating generation.