Package com.ansj.vec.util

Examples of com.ansj.vec.util.Haffman


     * @param file
     * @throws IOException
     */
    public void learnFile(File file) throws IOException {
        readVocab(file);
        new Haffman(layerSize).make(wordMap.values());
       
        //查找每个神经元
        for (Neuron neuron : wordMap.values()) {
            ((WordNeuron)neuron).makeNeurons() ;
        }
View Full Code Here

TOP

Related Classes of com.ansj.vec.util.Haffman

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.