Beispiel #1
0
 public virtual double ProbabilityOf(Mention p, ICollection <Mention> shares, ICollection <string> neStrings, Dictionaries dict, Properties props)
 {
     try
     {
         bool dummyLabel = false;
         RVFDatum <bool, string> datum = new RVFDatum <bool, string>(ExtractFeatures(p, shares, neStrings, dict, props), dummyLabel);
         return(rf.ProbabilityOfTrue(datum));
     }
     catch (Exception e)
     {
         throw new Exception(e);
     }
 }