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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    classify(byte[] content)
    PUBLIC: Extracts keywords from the given content and returns a TermDatabase representing the results.
    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.
    classify(String uri_or_file)
    PUBLIC: Extracts keywords from the given URI or file and returns a TermDatabase representing the results.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleClassifier

      public SimpleClassifier()
  • Method Details

    • 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