Catalogue of Artificial Intelligence Techniques


Jump to: Top | Entry | References | Comments

View Maths as: Images | MathML

Template Matching

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.



Add Comment

No comments.