A while ago I read how Wikipedia wrote a script that crawls their millions of pages regularly and can automatically hyperlink the first instance of a word/phrase in one page to another page (say, the word "monkey" to the actual page on monkeys). They do this because, otherwise, it'd take an obscene amount of time and effort to manually link out the contents of each page one-by-one.
While the Confluence spaces I'm building out are in no way as comprehensive as Wikipedia, I'm wondering if anyone has ever designed a similar script/app that can do this in Confluence. It would seem to be a really useful addition.
Or, if not that, is there an app/script that can crawl all pages in a space and build a heatmap of commonly used words (excluding words like "its", "a", and other common things) so I'd better know if there's a specific term that I should consider making a page defining?