Exemplo n.º 1
0
 static void Main(string[] args)
 {
     util.clearLog();
     util.log("starting .............");
     Lexicon mylexicon = new Lexicon();
     mylexicon.getPredicates("death place",20,50);
 }
Exemplo n.º 2
0
        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());
              }
        }
Exemplo n.º 3
0
        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());
              }
        }
Exemplo n.º 4
0
        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());
            }
        }