Experience-based learning of semantic messages generation in resource-bounded environment