Say if I have a sentence:
fox jumps over a lazy fox
I need to map it to a list of words with their corresponding range inside the string, for