textproc: emit word tokens, join input tokens