Package edu.cmu.sphinx.decoder.adaptation

Examples of edu.cmu.sphinx.decoder.adaptation.ClusteredDensityFileData


        Result result = recognizer.recognize();
        return null == result ? null : new SpeechResult(result);
    }
   
    public Stats createStats(int numClasses) {
        clusters = new ClusteredDensityFileData(context.getLoader(), numClasses);
        return new Stats(context.getLoader(), clusters);
    }
View Full Code Here


            context.getLoader().update(transform, clusters);
        }
    }

    public void loadTransform(String path, int numClass) throws Exception {
      clusters = new ClusteredDensityFileData(context.getLoader(), numClass);
      Transform transform = new Transform((Sphinx3Loader)context.getLoader(), numClass);
      transform.load(path);
      context.getLoader().update(transform, clusters);
    }
View Full Code Here

TOP

Related Classes of edu.cmu.sphinx.decoder.adaptation.ClusteredDensityFileData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.