Ejemplo n.º 1
0
        public int assertTriple(string subject, string relation, string value)
        {
            var    templateNode = templateNodeInit;
            string factoidSRV   = GenFormatFactoid(subject, relation, value, templateNode);

            if (IsExcludedSRV(subject, relation, value, factoidSRV, writeToLog, "assertTriple"))
            {
                return(-1);
            }
            return(EnglishFactiodStore.InsertFactiod(factoidSRV, templateNode, WordNetExpand));
        }
Ejemplo n.º 2
0
 public int InsertFactiod(string myText, XmlNode templateNode, WordExpander WordNetExpand)
 {
     return(assertTo.InsertFactiod(myText, templateNode, WordNetExpand));
 }