searcher component learns how to search for text by examining the text location in the example source document. It uses the Parser format to interpret the source document.
For example, if the Parser has a tab-delimited format,
LearnByExample
counts the number of tabs from the search start to the example text. It searches for text in the source document that lies at the same number of tabs from the start of the search scope.
, the component counts the delimiters from the end of the search scope.
The following table describes the properties of the
LearnByExample
searcher component:
Property
Description
example
Defines the text in the example source document at the anchor location.
The
LearnByExample
searcher component applies heuristics that are sensitive. To use the
LearnByExample
searcher component, the example must have the same form as the expected input. The form must be uniform across the entire input file or files. If the example is not the same as the input, the