Esempio n. 1
0
 public PredicateCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.collectPredicates().iterator();
 }
Esempio n. 2
0
 public FormulaCollection(KnowledgeBase kb)
 {
     _kb = kb.Intern;
 }
Esempio n. 3
0
 public RuleCollection(KnowledgeBase kb)
 {
     _kb = kb;
 }
Esempio n. 4
0
 public Term(KnowledgeBase kb, string text)
 {
 	_kb = kb;
     _text = text;
 }
Esempio n. 5
0
 public TermCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.terms.iterator();
 }
Esempio n. 6
0
		void InitSumo()
		{
			statusLabel.Text = "Initializing SUMO";
			DisableFormControls();
			SUMO.Init(_kbDir);
			cmbKBs.Items.Clear();
			foreach(KnowledgeBase kb in SUMO.KnowledgeBases)
			{
				cmbKBs.Items.Add(kb.Name);
			}
			if(cmbKBs.Items.Count > 0)
			{
				cmbKBs.SelectedIndex = 0;
				string kbName = cmbKBs.Items[cmbKBs.SelectedIndex].ToString();
				_kb = SUMO.KnowledgeBases[kbName];
				PopulateManifest();
				EnableFormControls();
				statusLabel.Text = "Ready";
			}
			else
			{
				statusLabel.Text = "No KnowledgeBases Found";
			}
		}
Esempio n. 7
0
 public Constituent(KnowledgeBase kb, string path)
 {
     _kb   = kb;
     _path = path;
 }
Esempio n. 8
0
		public RelationCollection(KnowledgeBase kb)
		{
			_kb = kb;
		}
Esempio n. 9
0
 public FormulaCollection(KnowledgeBase kb)
 {
     _kb = kb.Intern;
 }
Esempio n. 10
0
 public Term(KnowledgeBase kb, string text)
 {
     _kb   = kb;
     _text = text;
 }
Esempio n. 11
0
 public TermCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.terms.iterator();
 }
Esempio n. 12
0
 public RuleCollection(KnowledgeBase kb)
 {
     _kb = kb;
 }
Esempio n. 13
0
 public ConstituentCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.constituents.iterator();
 }
Esempio n. 14
0
		public AxiomCollection(KnowledgeBase kb)
		{
			_kb = kb;
			_it = _kb.Intern.formulaMap.keySet().iterator();
		}
Esempio n. 15
0
 public PredicateCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.collectPredicates().iterator();
 }
Esempio n. 16
0
 public AxiomCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.formulaMap.keySet().iterator();
 }
Esempio n. 17
0
		void CmbKBsSelectedIndexChanged(object sender, EventArgs e)
		{
			string kbName = cmbKBs.Items[cmbKBs.SelectedIndex].ToString();
			_kb = SUMO.KnowledgeBases[kbName];
			PopulateManifest();
		}
Esempio n. 18
0
 public Constituent(KnowledgeBase kb, string path)
 {
     _kb = kb;
     _path = path;
 }
Esempio n. 19
0
 public RelationCollection(KnowledgeBase kb)
 {
     _kb = kb;
 }
Esempio n. 20
0
 public ConstituentCollection(KnowledgeBase kb)
 {
     _kb = kb;
     _it = _kb.Intern.constituents.iterator();
 }