Interface changes in genseq

Changed interface of SequenceGenerator and Emitter for beam search.
Why do you want to remove this line from the comment?