module Boilerpipe::Extractors class LargestContentExtractor java_import 'com.kohlschutter.boilerpipe.extractors.LargestContentExtractor' def self.get_text(s) LargestContentExtractor::INSTANCE.get_text s end class <