eggbird
software development and
knowledge engineering

Mail

ROIS

Built-in task: matchNode

The built-in task matchNode is comparable to findNode but uses a minimum edit distance between the requested text and the names of the matched nodes.

matchNode MODEL NODE 'Tissjue' 'INTERNAL' '5';
<ROIS>
  <Query task="matchNode">
    <Model id="962DC:0"></Model>
    <Node>NODE</Node>
    <Text>Tissjue</Text>
    <Text>INTERNAL</Text>
  </Query>
</ROIS>
<ROIS>
  <Reply task="matchNode">
    <Node id="962DC:15C5">Tissue</Node>
  </Reply>
</ROIS>

NB: This only works when node names are added to the model with the pragma #soundAs on.