oko1,
I will post a working solution that is configurable a bit later. For now, here are some interesting and somewhat related nodes to ponder:
Challenge: Predictive Texting and
One for the weekend: challenge. in case you are interested, I will be modifying my solution from
Re^2: Turning A Problem Upside Down to handle this.
Update: I have family visiting from out of town and it doesn't look like I am going to get to this any time soon. I will put it on my todo list. Never fear, I
eventually complete items on my todo list - even if it does sometimes take
over a year.