Package net.ontopia.topicmaps.classify
Class SimpleClassifier
- java.lang.Object
-
- net.ontopia.topicmaps.classify.SimpleClassifier
-
public class SimpleClassifier extends Object
PUBLIC: A simple top-level API for classifying content.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description SimpleClassifier()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TermDatabase
classify(byte[] content)
PUBLIC: Extracts keywords from the given content and returns a TermDatabase representing the results.static TermDatabase
classify(byte[] content, TopicMapIF topicmap)
PUBLIC: Extracts keywords from the given content, using the information in the topic map, and returns a TermDatabase representing the results.static TermDatabase
classify(String uri_or_file)
PUBLIC: Extracts keywords from the given URI or file and returns a TermDatabase representing the results.static TermDatabase
classify(String uri_or_file, TopicMapIF topicmap)
PUBLIC: Extracts keywords from the given URI or file, using the information in the topic map, and returns a TermDatabase representing the results.
-
-
-
Method Detail
-
classify
public static TermDatabase classify(String uri_or_file)
PUBLIC: Extracts keywords from the given URI or file and returns a TermDatabase representing the results.
-
classify
public static TermDatabase classify(String uri_or_file, TopicMapIF topicmap)
PUBLIC: Extracts keywords from the given URI or file, using the information in the topic map, and returns a TermDatabase representing the results.
-
classify
public static TermDatabase classify(byte[] content)
PUBLIC: Extracts keywords from the given content and returns a TermDatabase representing the results.- Since:
- 5.3.0
-
classify
public static TermDatabase classify(byte[] content, TopicMapIF topicmap)
PUBLIC: Extracts keywords from the given content, using the information in the topic map, and returns a TermDatabase representing the results.- Since:
- 5.3.0
-
-