Fixes #2. Fixes segmenting text with whitespace.