Sha256: ecb6f277eb92793f92cd4b55da8ec240ddd2dd55cc5a9bc2e2ae3a149a399954

Contents?: true

Size: 826 Bytes

Versions: 1

Compression:

Stored size: 826 Bytes

Contents

module Boilerpipe
  module Filters
    java_import 'com.kohlschutter.boilerpipe.filters.english.IgnoreBlocksAfterContentFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.english.TerminatingBlocksFinder'
    java_import 'com.kohlschutter.boilerpipe.filters.english.NumWordsRulesClassifier'
    java_import 'com.kohlschutter.boilerpipe.filters.english.HeuristicFilterBase'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.DocumentTitleMatchClassifier'

    class IgnoreBlocksAfterContentFilter
      def self.process(doc)
        DEFAULT_INSTANCE.process(doc)
      end
    end

    class TerminatingBlocksFinder
      def self.process(doc)
        new.process(doc)
      end
    end

    class NumWordsRulesClassifier 
      def self.process(doc)
        new.process(doc)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-boilerpipe-0.0.4 lib/boilerpipe/filters/filters.rb