Exemple #1
0
        public ArrayList GetNearestNonRelations(string term)
	    {
    		ArrayList list = new ArrayList();
    		java.util.Iterator it = _kb.getNearestNonRelations(term).iterator();
    		while(it.hasNext())
    		{
    			Term t = new Term( this, it.next().ToString() );
    			list.Add(t);
    		}
    		return list;
	    }
Exemple #2
0
 public bool Contains(Term term)
 {
     return _kb.Intern.containsTerm(term.Text);
 }
Exemple #3
0
 public ArrayList GetInstancesOf(Term term)
 {
     return HelperUtils.ToArrayList(_kb.instancesOf(term.Text));
 }