lib/boilerpipe.rb in jruby-boilerpipe-0.0.1 vs lib/boilerpipe.rb in jruby-boilerpipe-0.0.2
- old
+ new
@@ -1,9 +1,10 @@
require 'boilerpipe/version'
require_relative 'boilerpipe-common-2.0-SNAPSHOT-jar-with-dependencies.jar'
module Boilerpipe
java_import 'com.kohlschutter.boilerpipe.extractors.ArticleExtractor'
+ java_import 'com.kohlschutter.boilerpipe.util.UnicodeTokenizer'
java_import java.net.URL
class ArticleExtractor
def self.get_text(s)
url = nil