I am pretty sure that this will be implemented sooner or later. I just hope that DD2 is the first to achieve this goal.
I think this can be handled by creating a dictionary for NPCs and using triggers for keywords. But then, I am not a tech guy.
That's just an idea which I will love to see in computer games.