static void Main(string[] args) { util.clearLog(); util.log("starting ............."); Lexicon mylexicon = new Lexicon(); mylexicon.getPredicates("death place",20,50); }
static void Main(string[] args) { util.clearLog(); util.log("starting ............."); Lexicon mylexicon = new Lexicon(); List<LexiconPredicate> predicates = mylexicon.getPredicates(" of Egypt", 20,10); foreach (LexiconPredicate predicate in predicates) { util.log(predicate.ToSimpleString()); } }
static void Main(string[] args) { util.clearLog(); util.log("starting ............."); Lexicon mylexicon = new Lexicon(); List<LexiconPredicate> predicates = mylexicon.getPredicates("birth Place of barack obama", 20,30); foreach (LexiconPredicate predicate in predicates) { util.log(predicate.ToString()); } }
static void Main(string[] args) { util.clearLog(); util.log("starting ............."); Lexicon mylexicon = new Lexicon(); //List<LexiconPredicate> predicates = mylexicon.getPredicates("cities of", 30, 10); //foreach (LexiconPredicate predicate in predicates) //{ // util.log(predicate.ToSimpleString()); //} List<LexiconLiteral> literals = mylexicon.getLiterals("MAC book air ", 30, 20); foreach (LexiconLiteral l in literals) { util.log(l.ToSimpleString()); } }