Example #1
0
 public static int Init()
 {
     try
     {
         var context = AnalysisContext.CreateContext();
         baes = new BaesianClassifier(context);
         return(0);
     }
     catch (Exception e)
     {
         File.AppendAllText("error.txt", e.ToString());
         return(1);
     }
 }