In my free recall demo I estimate the position of the mouse relative to the text.
A also try to estimate to location of words in a phrase in my self paced reading demo.
The moving window version the phrase into words and has each word as a separate text object (with known coordinates selected to give approximately correct word gaps).