Sha256: 522a457f2adba3e6ea10d9244f08e6bc9f1536f604c976be4623bcf86f18d83b
Contents?: true
Size: 350 Bytes
Versions: 5
Compression:
Stored size: 350 Bytes
Contents
module Boilerpipe::Extractors class CanolaExtractor def self.text(contents) doc = ::Boilerpipe::SAX::BoilerpipeHTMLParser.parse(contents) ::Boilerpipe::Extractors::CanolaExtractor.process doc doc.content end def self.process(doc) ::Boilerpipe::Filters::CanolaClassifier.process doc doc end end end
Version data entries
5 entries across 5 versions & 1 rubygems