Added tokenizePos for tokenizing into Spans.