KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > nutch > ontology > Ontology


1 /* Copyright (c) 2004 michael j pan. All rights reserved. */
2 /* Use subject to the same conditions as Nutch. */
3 /* see http://www.nutch.org/LICENSE.txt. */
4
5 package net.nutch.ontology;
6
7 import java.util.Iterator JavaDoc;
8
9 public interface Ontology {
10   /** The name of the extension point. */
11   public final static String JavaDoc X_POINT_ID = Ontology.class.getName();
12
13   public void load(String JavaDoc[] urls);
14
15   // not yet implemented
16
//public void merge(Ontology o);
17

18   public Iterator JavaDoc subclasses(String JavaDoc entitySearchTerm);
19
20   public Iterator JavaDoc synonyms(String JavaDoc queryKeyPhrase);
21 }
22
Popular Tags