Package edu.cmu.sphinx.decoder.adaptation

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


        }
    }

    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


            stats.collect(result);
        }
        recognizer.stopRecognition();
       
        // Transform represents the speech profile
        Transform transform = stats.createTransform();
        recognizer.setTransform(transform);
       
        // Decode again with updated transform
        stream = TranscriberDemo.class.getResourceAsStream(
                "/edu/cmu/sphinx/demo/aligner/10001-90210-01803.wav");
View Full Code Here

                    stats.collect(result);
                }
                recognizer.stopRecognition();
            }

            Transform profile;
            // Create the Transformation
            profile = stats.createTransform();
            recognizer.setTransform(profile);

            for (Segment seg : segments) {
View Full Code Here

TOP

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

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.