The following code works fine.
The test is a room. Peter is a person. Mary is a person. Peter is in the test. Mary is in the test.
Table of Characterization
Suspect Topic Generic Remark
Peter “Mary” “I love money”
Instead of asking someone about something:
choose row with a suspect of the noun in the Table of Characterization;
if the topic understood includes the topic entry:
say “[noun] says [generic remark entry]”.
However, if I change the topic entry in the table, using a text substitution instead, problems arise:
Table of Characterization Suspect Topic Generic Remark Peter "[Mary]" "I love money"
Now inform understands Mary as the noun. So if the command is
Ask Peter about Mary,
it prints “Mary says…”
Is it out of the question to use text substitutions in a topics column?
Thanks in advance.