With regards to the specific problems described here, referencing how computers can make sense of communication between a listener and a speaker when each has different knowledge in the world and where strict and literal communication isn't always the most efficient, search for the "Rational Speech Acts (RSA) model" -- an active field in the literature in the past few years.