Exemplo n.º 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;
	    }
Exemplo n.º 2
0
 public bool Contains(Term term)
 {
     return _kb.Intern.containsTerm(term.Text);
 }
Exemplo n.º 3
0
 public ArrayList GetInstancesOf(Term term)
 {
     return HelperUtils.ToArrayList(_kb.instancesOf(term.Text));
 }