Ejemplo n.º 1
0
 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);
        }
Ejemplo n.º 3
0
 public SimpleAcousticScorer(BaseDataProcessor frontEnd, ScoreNormalizer scoreNormalizer)
 {
     this.seenEnd = false;
     this.initLogger();
     this.frontEnd        = frontEnd;
     this.scoreNormalizer = scoreNormalizer;
     this.storedData      = new LinkedList();
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 6
0
 /**
  * /// @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>();
 }