unsupervised-language-detection 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,4 @@ module UnsupervisedLanguageDetection
|
|
5
5
|
@detector ||= LanguageDetector.load_yaml(File.expand_path('../unsupervised-language-detection/english-tweet-detector.yaml', __FILE__))
|
6
6
|
@detector.classify(tweet) == "majority"
|
7
7
|
end
|
8
|
-
end
|
9
|
-
|
10
|
-
UnsupervisedLanguageDetection.is_english_tweet?("http://www.test.com/ ")
|
8
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Edwin Chen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-08-
|
17
|
+
date: 2011-08-20 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|