code: public boolean loadTxt(String path)
      {
          IOUtil.LineIterator lineIterator = new IOUtil.LineIterator(path);
          model_header = lineIterator.next();
          if (model_header == null) return false;
          root = lineIterator.next();
          use_distance = "1".equals(lineIterator.next());
          use_valency = "1".equals(lineIterator.next());
          use_cluster = "1".equals(lineIterator.next());
  
          W1 = read_matrix(lineIterator);
          W2 = read_matrix(lineIterator);
          E = read_matrix(lineIterator);
          b1 = read_vector(lineIterator);
          saved = read_matrix(lineIterator);
  
          forms_alphabet = read_alphabet(lineIterator);
          postags_alphabet = read_alphabet(lineIterator);
          deprels_alphabet = read_alphabet(lineIterator);
  
          precomputation_id_encoder = read_map(lineIterator);
  
          if (use_cluster)
          {
              cluster4_types_alphabet = read_alphabet(lineIterator);
              cluster6_types_alphabet = read_alphabet(lineIterator);
              cluster_types_alphabet = read_alphabet(lineIterator);
  
              form_to_cluster4 = read_map(lineIterator);
              form_to_cluster6 = read_map(lineIterator);
              form_to_cluster = read_map(lineIterator);
          }
  
          assert !lineIterator.hasNext() : "文件有残留，可能是读取逻辑不对";
  
          classifier = new NeuralNetworkClassifier(W1, W2, E, b1, saved, precomputation_id_encoder);
          classifier.canonical();
  
          return true;
      }
docs: 从txt加载
  @param path
  @return