I want to try to understand how Daniel Tammet, an autistic synesthetic savant, sees words, at least in the aspect of them having colour. To this aim, I want to colour every word appearing on the screen with some colour, which is to be determined by the first letter of the word. For example, this should apply to the UI, to PDFs, to the Terminal, and so on.
Question: Is it possible to make your Linux distribution paint every word on the screen with a specific colour based on the first letter? How about colouring numbers?
Here's an example of the behaviour I'm aiming for:
ask, answer, allow, at, amount are coloured green;
red, rave, round, river, rent are coloured red;
4 is coloured blue, 5 is coloured yellow, and 6 is coloured green.