In the beginning of the demonstration, specific objects can be designated as being examples, and that action advises Mondrian that any further operations involving these examples may be generalized in the future. Advice can be graphical. The user draws a diagram that shows Mondrian about part-whole relationships. In my experiments in a technical procedure domain, I allow the user to annotate selected frames of video by outlining images of parts, and grouping them into part-whole relationships. This means that when Mondrian records an action involving that part, it is described in terms of its relationship in the object's structure.
Advice can be verbal .
A speech recognition system is trained to recognize a set of visual relations, constraints, and predicates that modify the actions the user is taking or objects that the user is manipulating. In many speech applications where spoken commands simply replace typed or mouse commands, speech is as a medium for giving advice, since the hands and eyes are already occupied with interacting with the graphical interface. Mondrian represents a class of interfaces where advice is given by example . The user uses concrete, visual examples to explain what is expected, together with actions that tell the system how to interpret the examples. Using examples is often easier for people than preparing advice in the abstract, and less prone to error.