Exemple #1
0
 private bool Load(string path)
 {
     if (LoadDat(path + Predefine.BIN_EXT))
     {
         return(true);
     }
     _crfModel = new CRFDependencyModel(new DoubleArrayTrie <FeatureFunction>());
     try
     {
         _crfModel.LoadFromTxt(path);
         return(true);
     }
     catch (Exception e)
     {
         return(false);
     }
 }