Sha256: a55dfe6e474ce3f478ff3159dc61b9ef5d5dcd98671d94e89f3ecc193e70498f
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 Bytes
Contents
module Boilerpipe::Extractors class NumWordsRulesExtractor def self.text(contents) doc = ::Boilerpipe::SAX::BoilerpipeHTMLParser.parse(contents) ::Boilerpipe::Extractors::NumWordsRulesExtractor.process doc doc.content end def self.process(doc) ::Boilerpipe::Filters::NumWordsRulesClassifier.process doc doc end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
boilerpipe-ruby-0.4.0 | lib/boilerpipe/extractors/num_words_rules_extractor.rb |
boilerpipe-ruby-0.3.0 | lib/boilerpipe/extractors/num_words_rules_extractor.rb |