Create Substring with Concatenation of All Words (pyemma)