An agent-based framework for sketched symbol interpretation