コード例 #1
0
ファイル: QueryBucket.cs プロジェクト: AliHosny/weet-it
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="question">the question of the query bucket</param>
 public QueryBucket(string question,util.questionTypes type)
 {
     tokens = new List<LexiconToken>();
     questionLeft = question;
     uriToDo = new List<string>();
     uriUsed = new List<string>();
     questionType = type;
 }
コード例 #2
0
ファイル: questionAnswer.cs プロジェクト: AliHosny/weet-it
        public questionAnswer(util.questionTypes type)
        {
            subjectList = new List<LexiconLiteral>();
            predicateList = new List<LexiconPredicate>();
            objectNodetList = new List<INode>();

            subjectStringList = new List<string>();
            predicateStringList = new List<string>();
            objectStringList = new List<string>();

            questiontype = type;
        }