Skip over control characters when computing offsets.

Otherwise an exception was thrown because OpenNlp and Clear treat control characters as whitespace.