예제 #1
0
파일: Program.cs 프로젝트: AliHosny/weet-it
 static void Main(string[] args)
 {
     util.clearLog();
     util.log("starting .............");
     Lexicon mylexicon = new Lexicon();
     mylexicon.getPredicates("death place",20,50);
 }
예제 #2
0
파일: Program.cs 프로젝트: AliHosny/weet-it
        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());
              }
        }
예제 #3
0
파일: Program.cs 프로젝트: AliHosny/weet-it
        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());
              }
        }