Class SimpleClassifier


  • public class SimpleClassifier
    extends Object
    PUBLIC: A simple top-level API for classifying content.
    Since:
    5.1.0
    • Constructor Detail

      • SimpleClassifier

        public SimpleClassifier()
    • 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