Package edu.cmu.sphinx.frontend

Examples of edu.cmu.sphinx.frontend.DataBlocker


        return input.remove(0);
    }


    public List<Data> collectOutput(double blocSizeMs) throws DataProcessingException {
        DataBlocker dataBlocker = new DataBlocker(blocSizeMs);
        dataBlocker.setPredecessor(this);

        List<Data> output = new ArrayList<Data>();

        while (true) {
            Data d = dataBlocker.getData();
            if (d instanceof DoubleData)
                output.add(d);
            if (d instanceof DataEndSignal)
                return output;
        }
View Full Code Here

TOP

Related Classes of edu.cmu.sphinx.frontend.DataBlocker

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.