SIML Code
<Model>
<Pattern>DO YOU LIKE (BACON|PANCAKE)</Pattern>
<Response>Yes I love <Match /></Response>
</Model>
SIML Code
<Model>
<Pattern>ARE YOU *</Pattern>
<Response>I am not sure if I am <Match /></Response>
</Model>
Predictive Responses
SIML Code
<Model>
<Pattern>
<Item>DO YOU LIKE CUPCAKES</Item>
<Item>DO YOU LOVE CUPCAKES</Item>
<Item>DO YOU WANT CUPCAKES</Item>
</Pattern>
<Response>
<Phrase>
<Item>I do like cupcakes</Item>
<Item>Yes I love cupcakes</Item>
<Item>I do want cupcakes</Item>
</Phrase>
</Response>
</Model>
Random Answers & Previous Utternance
SIML Code
<Model>
<Pattern>RESTART COMPUTER</Pattern>
<Response>
<Random>
<Item>Are you sure Sir?</Item>
<Item>Shall I restart the Computer now?</Item>
<Item>Say yes if you wish to restart your computer now.</Item>
<Item>Please confirm that you intend to restart your computer</Item>
</Random>
<Label>computer-restart:</Label>
</Response>
</Model>
<Model>
<Pattern>Yes</Pattern>
<Previous>computer-restart:</Previous>
<Response>Restarting computer. Please Standby..</Response>
</Model>