public override void NewProperties(PropertySheet ps) { base.NewProperties(ps); FrontEnd = (BaseDataProcessor)ps.GetComponent(FeatureFrontend); _scoreNormalizer = (IScoreNormalizer)ps.GetComponent(ScoreNormalizer); _storedData = new LinkedList <IData>(); }
virtual public void newProperties(PropertySheet ps) { ///base.newProperties(ps); ///not mandatory this.frontEnd = (BaseDataProcessor)ps.getComponent(FEATURE_FRONTEND); this.scoreNormalizer = (IScoreNormalizer)ps.getComponent(SCORE_NORMALIZER); }
public SimpleAcousticScorer(BaseDataProcessor frontEnd, ScoreNormalizer scoreNormalizer) { this.seenEnd = false; this.initLogger(); this.frontEnd = frontEnd; this.scoreNormalizer = scoreNormalizer; this.storedData = new LinkedList(); }
public ThreadedAcousticScorer(BaseDataProcessor frontEnd, ScoreNormalizer scoreNormalizer, int minScoreablesPerThread, bool cpuRelative, int numThreads, int threadPriority) : base(frontEnd, scoreNormalizer) { this.init(minScoreablesPerThread, cpuRelative, numThreads, threadPriority); }
/** * /// @param frontEnd the frontend to retrieve features from for scoring * /// @param scoreNormalizer optional post-processor for computed scores that will normalize scores. If not set, no normalization will * /// applied and the token scores will be returned unchanged. */ public SimpleAcousticScorer(BaseDataProcessor frontEnd, IScoreNormalizer scoreNormalizer) { this.frontEnd = frontEnd; this.scoreNormalizer = scoreNormalizer; }
/** * /// @param frontEnd the frontend to retrieve features from for scoring * /// @param scoreNormalizer optional post-processor for computed scores that will normalize scores. If not set, no normalization will * /// applied and the token scores will be returned unchanged. */ public SimpleAcousticScorer(BaseDataProcessor frontEnd, IScoreNormalizer scoreNormalizer) { FrontEnd = frontEnd; _scoreNormalizer = scoreNormalizer; _storedData = new LinkedList <IData>(); }