How to store dynamic references to parts of a text
- by Antoine L
In fact, my question concerns an algorithm. I need to be able to attach annotations to certain parts of a text, like a word or a group of words. The first thing that came to me to do so is to store the position of this part (indexes) in the text.
For instance, in the text 'The quick brown fox jumps over the lazy dog', I'd like to attach an…