コード例 #1
0
        /*
         * (non-Javadoc)
         *
         * @see edu.cmu.sphinx.util.props.Configurable#newProperties(edu.cmu.sphinx.util.props.PropertySheet)
         */

        public override void newProperties(PropertySheet ps)
        {
            base.newProperties(ps);
            confidenceScorer = (IConfidenceScorer)ps.getComponent(PROP_CONFIDENCE_SCORER);
        }
コード例 #2
0
 public BestConfidenceAccuracyTracker(IConfidenceScorer confidenceScorer, Recognizer recognizer,
                                      bool showSummary, bool showDetails, bool showResults, bool showAlignedResults, bool showRawResults)
     : base(recognizer, showSummary, showDetails, showResults, showAlignedResults, showRawResults)
 {
     this.confidenceScorer = confidenceScorer;
 }