295296297298299300301302303304305
* @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() ; }