This is a draft of a simple idea on a way for a text parser to create indices that permit to search for substrings efficiently.