sampling for external language model