lib/unsupervised-language-detection.rb in unsupervised-language-detection-0.0.5 vs lib/unsupervised-language-detection.rb in unsupervised-language-detection-0.0.6

- old
+ new

@@ -3,8 +3,6 @@ module UnsupervisedLanguageDetection def self.is_english_tweet?(tweet) @detector ||= LanguageDetector.load_yaml(File.expand_path('../unsupervised-language-detection/english-tweet-detector.yaml', __FILE__)) @detector.classify(tweet) == "majority" end -end - -UnsupervisedLanguageDetection.is_english_tweet?("http://www.test.com/ ") +end \ No newline at end of file