Not year available in pypi
pip install mlzero
Work in progress
from mlzero.segment import tokenize_space tokenize_space('Too many badgers')
['Too', 'many', 'badgers']