Sha256: a2cb24c5ae2892ad250b3c55620be3b321e7483f60bc9b83a6c43b273536f53c

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

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.BlockProximityFusion'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.DocumentTitleMatchClassifier'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.TrailingHeadlineToBoilerplateFilter'

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

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

    class TrailingHeadlineToBoilerplateFilter
      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.5 lib/boilerpipe/filters/filters.rb