code: public void save(DataOutputStream out) throws Exception
      {
          TextUtility.writeString(model_header, out);
          TextUtility.writeString(root, out);
  
          out.writeInt(use_distance ? 1 : 0);
          out.writeInt(use_valency ? 1 : 0);
          out.writeInt(use_cluster ? 1 : 0);
  
          W1.save(out);
          W2.save(out);
          E.save(out);
          b1.save(out);
          saved.save(out);
  
          forms_alphabet.save(out);
          postags_alphabet.save(out);
          deprels_alphabet.save(out);
  
          save_map(precomputation_id_encoder, out);
  
          if (use_cluster)
          {
              cluster4_types_alphabet.save(out);
              cluster6_types_alphabet.save(out);
              cluster_types_alphabet.save(out);
  
              save_map(form_to_cluster4, out);
              save_map(form_to_cluster6 , out);
              save_map(form_to_cluster , out);
          }
      }
docs: 保存到磁盘
  @param out
  @throws Exception