Catalogue of Artificial Intelligence Techniques
Keywords: generation, matching, natural language generation
Categories: Natural Language
Author(s): Maarten van Someren
A simple technique that is sometimes used in language understanding. A language unit (sentence or phrase) is compared with a set of predefined `templates'. Some positions in the template consist of variables that match any input. If a template matches the input, the variables take the value of the corresponding elements in the input. For example the template `Var1 hits Var2' matches the input `Mary hits John with her hand' and Var1 takes the value `Mary' and Var2 `John with her hand'. Template matching is only useful if there is a small number of templates, otherwise the matching process is too expensive. Template matching has been successfully applied to natural language generation too.
- Barr, A. and Feigenbaum, E.A., eds., The Handbook of Artificial Intelligence
, vol. 1, William Kaufmann, Los Altos, California, 1981.