template matching

Terms from Artificial Intelligence for Human Computer Interaction

From entry template matching in glossary Artificial Intelligence: humans at the heart of algorithms

Template matching is when text or data is matched aganst simple patterns (templates). This can be appllied in natural language processing as an alternative to full parsing, especially in chatbots, for example, using a template such as "tell me about X" (using caps for variables). It can also be used in structured data, for example matching "<p class=content">CONTENT</p>" in a web page, and in data detectors. In computer vision more complex templates may be used to represent the visual appearance of objects to be matched against parts of an image.

Used in Chap. 6: page 83