Package net.ontopia.topicmaps.classify
Class SimpleClassifier
java.lang.Object
net.ontopia.topicmaps.classify.SimpleClassifier
PUBLIC: A simple top-level API for classifying content.
- Since:
- 5.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TermDatabaseclassify(byte[] content) PUBLIC: Extracts keywords from the given content and returns a TermDatabase representing the results.static TermDatabaseclassify(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 TermDatabasePUBLIC: Extracts keywords from the given URI or file and returns a TermDatabase representing the results.static TermDatabaseclassify(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.
-
Constructor Details
-
SimpleClassifier
public SimpleClassifier()
-
-
Method Details
-
classify
PUBLIC: Extracts keywords from the given URI or file and returns a TermDatabase representing the results. -
classify
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: Extracts keywords from the given content and returns a TermDatabase representing the results.- Since:
- 5.3.0
-
classify
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
-