locked
setting rejectionThreshold for commands RRS feed

  • Question

  • It doesn't look like there is a way to set the rejectionThreshold just for the active commands on a QA. Is this true? I can only set it on the recognizer as a whole? What I want is for the commands to only be recognized at very high confidence levels, but I don't want to set the rejectionThreshold super high for the non command grammar items that are active for a QA. In MSS 2004 you could do this. I presume that maybe you will recommend using grammar weighting to handle this. Is that true?

    Regards,

    Mike

    Friday, May 11, 2007 10:07 PM

Answers

  • You are correct that there's no way to set the RejectionThreshold specifically for Commands.  You could clumsily achieve the same thing by checking the confidence of the result in your CommandActivity, such that it no-ops if the confidence is too low.  You'd still see the command logged, though, and you'd have to pass around the threshold you wanted to use.

    Grammar weighting is probably your best bet.

    Sorry I don't have a more helpful answer for you.

     

    -Alan Turnquist

    Monday, May 14, 2007 6:26 PM