Sha256: 88015a83bf64ceee232a7a17cdff5590af8ae56ab63e2799aeab16f56acc4e5e
Contents?: true
Size: 242 Bytes
Versions: 5
Compression:
Stored size: 242 Bytes
Contents
# Marks all blocks as content. module Boilerpipe::Filters class MarkEverythingContentFilter def self.process(doc) doc.text_blocks.each do |tb| tb.content = true if tb.is_not_content? end doc end end end
Version data entries
5 entries across 5 versions & 1 rubygems