views:

39

answers:

1

Is it possible to use wild cards between terms in a pattern? for example, if I want to answer the question, "How much are overdue fines on my books?" is there a way to use a wild card between the terms "overdue" and "books?"

A: 

Yes. Do something like:

<category>
<pattern>How much are overdue * on my books?</pattern>
<template><srai>YOUR <star/> IS</srai></template>
</category>

<category>
<pattern>YOUR FINE IS</pattern>
<template>Vote me up!</template>
</category

<category>
<pattern>YOUR STAMPS IS</pattern>
<template>20 pounds. Pay for this please.</template>
</category>
Bravax
But, remember that the pattern must be CAPS and no punctuation.
Elijah W.