A general framework for semantic plasticity and negotiation