Sha256: f6edb6d298af75e1ee3ebb7d267e277932496ced75d35505b1350be51a3c323f

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 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.ExpandTitleToContentFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.KeepLargestBlockFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.LargeBlockSameTagLevelToContentFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.ListAtEndFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.heuristics.TrailingHeadlineToBoilerplateFilter'
    java_import 'com.kohlschutter.boilerpipe.filters.simple.BoilerplateBlockFilter'

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

    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.6 lib/boilerpipe/filters/filters.rb